From c3bcaace7371f697affa73662f8638654bf6684e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 20 Jan 2025 22:57:03 +0100 Subject: [PATCH] python313Packages.changelog-chug: init at 0.0.3 New build dependency for python-daemon. --- .../python-modules/changelog-chug/default.nix | 54 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 56 insertions(+) create mode 100644 pkgs/development/python-modules/changelog-chug/default.nix diff --git a/pkgs/development/python-modules/changelog-chug/default.nix b/pkgs/development/python-modules/changelog-chug/default.nix new file mode 100644 index 000000000000..11301d2b4190 --- /dev/null +++ b/pkgs/development/python-modules/changelog-chug/default.nix @@ -0,0 +1,54 @@ +{ + lib, + buildPythonPackage, + fetchFromSourcehut, + docutils, + semver, + setuptools, + coverage, + testscenarios, + testtools, + unittestCheckHook, +}: + +buildPythonPackage rec { + pname = "changelog-chug"; + version = "0.0.3"; + pyproject = true; + + src = fetchFromSourcehut { + owner = "~bignose"; + repo = "changelog-chug"; + rev = "release/${version}"; + hash = "sha256-SPwFkmRQMpdsVmzZE4mB2J9wsfvE1K21QDkOQ2XPlow="; + }; + + build-system = [ + docutils + semver + setuptools + ]; + + dependencies = [ + docutils + semver + ]; + + nativeCheckInputs = [ + coverage + testscenarios + testtools + unittestCheckHook + ]; + + pythonImportsCheck = [ + "chug" + ]; + + meta = { + description = "Changelog document parser"; + homepage = "https://git.sr.ht/~bignose/changelog-chug"; + license = lib.licenses.agpl3Only; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1238d8d08f48..7f6f09217d1f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2252,6 +2252,8 @@ self: super: with self; { changefinder = callPackage ../development/python-modules/changefinder { }; + changelog-chug = callPackage ../development/python-modules/changelog-chug { }; + channels = callPackage ../development/python-modules/channels { }; channels-redis = callPackage ../development/python-modules/channels-redis { };