From 99687e1a713317b319eb8e555f486195dcfe15dd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 13 Sep 2023 22:49:50 +0200 Subject: [PATCH 1/2] python311Packages.amcrest: 1.9.7 -> 1.9.8 Diff: https://github.com/tchellomello/python-amcrest/compare/1.9.7...1.9.8 --- pkgs/development/python-modules/amcrest/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/amcrest/default.nix b/pkgs/development/python-modules/amcrest/default.nix index 83ccc797cf12..2440a3892c69 100644 --- a/pkgs/development/python-modules/amcrest/default.nix +++ b/pkgs/development/python-modules/amcrest/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "amcrest"; - version = "1.9.7"; + version = "1.9.8"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "tchellomello"; repo = "python-amcrest"; rev = version; - hash = "sha256-An7MnGtZsmEZU/y6E0sivdexFD6HJRTB1juXqHfbDzE="; + hash = "sha256-v0jWEZo06vltEq//suGrvJ/AeeDxUG5CCFhbf03q34w="; }; propagatedBuildInputs = [ From 2d239fa2f689d54744d56ebd50d91b13d13f0835 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 13 Sep 2023 22:55:21 +0200 Subject: [PATCH 2/2] python311Packages.amcrest: add changelog - update disabled --- pkgs/development/python-modules/amcrest/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/amcrest/default.nix b/pkgs/development/python-modules/amcrest/default.nix index 2440a3892c69..1de7da6f829f 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 ]; };