about summary refs log tree commit diff
path: root/pkgs/development/python-modules/amcrest
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-09-13 22:55:21 +0200
committerGitHub <noreply@github.com>2023-09-13 22:55:21 +0200
commit2d239fa2f689d54744d56ebd50d91b13d13f0835 (patch)
tree27e0950915486aea82db8581660c5c738fc36498 /pkgs/development/python-modules/amcrest
parent99687e1a713317b319eb8e555f486195dcfe15dd (diff)
python311Packages.amcrest: add changelog
- update disabled
Diffstat (limited to 'pkgs/development/python-modules/amcrest')
-rw-r--r--pkgs/development/python-modules/amcrest/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/amcrest/default.nix b/pkgs/development/python-modules/amcrest/default.nix
index 2440a3892c699..1de7da6f829fc 100644
--- a/pkgs/development/python-modules/amcrest/default.nix
+++ b/pkgs/development/python-modules/amcrest/default.nix
@@ -15,12 +15,14 @@
 buildPythonPackage rec {
   pname = "amcrest";
   version = "1.9.8";
-  disabled = pythonOlder "3.6";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
 
   src = fetchFromGitHub {
     owner = "tchellomello";
     repo = "python-amcrest";
-    rev = version;
+    rev = "refs/tags/${version}";
     hash = "sha256-v0jWEZo06vltEq//suGrvJ/AeeDxUG5CCFhbf03q34w=";
   };
 
@@ -38,11 +40,14 @@ buildPythonPackage rec {
     responses
   ];
 
-  pythonImportsCheck = [ "amcrest" ];
+  pythonImportsCheck = [
+    "amcrest"
+  ];
 
   meta = with lib; {
     description = "Python module for Amcrest and Dahua Cameras";
     homepage = "https://github.com/tchellomello/python-amcrest";
+    changelog = "https://github.com/tchellomello/python-amcrest/releases/tag/${version}";
     license = with licenses; [ gpl2Only ];
     maintainers = with maintainers; [ fab ];
   };