From 304c67b3994c10e6f5dd793d152b4fd9cf9931e9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 28 May 2022 12:56:31 +0000 Subject: [PATCH 1/2] python310Packages.brother: 1.2.0 -> 1.2.1 --- pkgs/development/python-modules/brother/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/brother/default.nix b/pkgs/development/python-modules/brother/default.nix index be6595408db6..f0b800d6d1e5 100644 --- a/pkgs/development/python-modules/brother/default.nix +++ b/pkgs/development/python-modules/brother/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "brother"; - version = "1.2.0"; + version = "1.2.1"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "bieniu"; repo = pname; - rev = version; - hash = "sha256-hKOZ5pTDwhM0lOXoatXXVvEVxiTfxIpBRe3fFcUfzwE="; + rev = "refs/tags/${version}"; + hash = "sha256-9SC4q2iZN0/fEYS4Ii7Ndcx5UpLryGCe9ytIVDdjg0M="; }; propagatedBuildInputs = [ From 6c65b37d3ebe3a9b42adacfc078d04a421e7b13d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 28 May 2022 15:45:49 +0200 Subject: [PATCH 2/2] python310Packages.brother: update stale substituteInPlace --- pkgs/development/python-modules/brother/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/brother/default.nix b/pkgs/development/python-modules/brother/default.nix index f0b800d6d1e5..45889d3f1594 100644 --- a/pkgs/development/python-modules/brother/default.nix +++ b/pkgs/development/python-modules/brother/default.nix @@ -38,7 +38,7 @@ buildPythonPackage rec { substituteInPlace setup.py \ --replace '"pytest-runner"' "" substituteInPlace requirements.txt \ - --replace "pysnmplib==5.0.10" "pysnmplib>=5.0.10" + --replace "pysnmplib==" "pysnmplib>=" ''; pythonImportsCheck = [