summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-11-28 10:04:15 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-28 14:02:47 +0000
commitf2448398e1c3af2ba73926f89acfc31aa6c14c27 (patch)
treecd82d7448f37c567a80990185a6a67e70480e6a3
parentpython311Packages.gentools: switch to pyproject; fix build (diff)
downloadnixpkgs-f2448398e1c3af2ba73926f89acfc31aa6c14c27.tar.gz
python311Packages.gentools: add changelog to meta
(cherry picked from commit 2a5388a54e6dad4828647c53c180d69df7683605)
-rw-r--r--pkgs/development/python-modules/gentools/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/gentools/default.nix b/pkgs/development/python-modules/gentools/default.nix
index ce247e60ec92..8fbf4a788fe9 100644
--- a/pkgs/development/python-modules/gentools/default.nix
+++ b/pkgs/development/python-modules/gentools/default.nix
@@ -13,12 +13,11 @@ buildPythonPackage rec {
version = "1.2.1";
pyproject = true;
- # Pypi doesn't ship the tests, so we fetch directly from GitHub
src = fetchFromGitHub {
owner = "ariebovenberg";
- repo = pname;
+ repo = "gentools";
rev = "refs/tags/v${version}";
- sha256 = "sha256-RBUIji3FOIRjfp4t7zBAVSeiWaYufz4ID8nTWmhDkf8=";
+ hash = "sha256-RBUIji3FOIRjfp4t7zBAVSeiWaYufz4ID8nTWmhDkf8=";
};
nativeBuildInputs = [ poetry-core ];
@@ -33,8 +32,9 @@ buildPythonPackage rec {
meta = with lib; {
description = "Tools for generators, generator functions, and generator-based coroutines";
- license = licenses.mit;
homepage = "https://gentools.readthedocs.io/";
+ changelog = "https://github.com/ariebovenberg/gentools/blob/v${version}/CHANGELOG.rst";
+ license = licenses.mit;
maintainers = with maintainers; [ mredaelli ];
};
}