about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fasteners
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-11-26 17:19:31 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-11-26 17:24:56 +0100
commitbc07c78d85af5525f85a743b2983614b9713dd42 (patch)
tree5741622aa64d49971b78df2a3ead828aa90ace4a /pkgs/development/python-modules/fasteners
parent167a0708ea6c535d552384fc6cd848801991c1b8 (diff)
python310Packages.fasteners: add changelog to meta
- disable on unsported Python releases
Diffstat (limited to 'pkgs/development/python-modules/fasteners')
-rw-r--r--pkgs/development/python-modules/fasteners/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/fasteners/default.nix b/pkgs/development/python-modules/fasteners/default.nix
index 7072e4b3378c2..a6b4ef8790d02 100644
--- a/pkgs/development/python-modules/fasteners/default.nix
+++ b/pkgs/development/python-modules/fasteners/default.nix
@@ -1,10 +1,11 @@
 { lib
 , buildPythonPackage
-, fetchFromGitHub
-, setuptools
 , diskcache
+, fetchFromGitHub
 , more-itertools
 , pytestCheckHook
+, pythonOlder
+, setuptools
 }:
 
 buildPythonPackage rec {
@@ -12,10 +13,12 @@ buildPythonPackage rec {
   version = "0.17.3";
   format = "pyproject";
 
+  disabled = pythonOlder "3.6";
+
   src = fetchFromGitHub {
     owner = "harlowja";
     repo = pname;
-    rev = version;
+    rev = "refs/tags/${version}";
     hash = "sha256-FVhHp8BZ/wQQyr5AcuDo94LlflixhjZ0SnheSdHuDVQ=";
   };
 
@@ -30,10 +33,10 @@ buildPythonPackage rec {
   ];
 
   meta = with lib; {
-    description = "A python package that provides useful locks";
+    description = "Module that provides useful locks";
     homepage = "https://github.com/harlowja/fasteners";
+    changelog = "https://github.com/harlowja/fasteners/releases/tag/${version}";
     license = licenses.asl20;
     maintainers = with maintainers; [ ];
   };
-
 }