From c6e5c83346e58e0288ad5dccaffef65d19fc431c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Sep 2022 22:25:54 +0200 Subject: [PATCH] python310Packages.atenpdu: 0.3.4 -> 0.3.5 --- .../python-modules/atenpdu/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/atenpdu/default.nix b/pkgs/development/python-modules/atenpdu/default.nix index d2f4cc0af8c..a4bbb82af97 100644 --- a/pkgs/development/python-modules/atenpdu/default.nix +++ b/pkgs/development/python-modules/atenpdu/default.nix @@ -1,23 +1,34 @@ { lib +, async-timeout , buildPythonPackage , fetchPypi , pysnmp +, pythonOlder }: buildPythonPackage rec { pname = "atenpdu"; - version = "0.3.4"; + version = "0.3.5"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-vvq8InmJUgvm/PpvZutpsBR3Fj1gR+xrkgfEGlw04Ek="; + hash = "sha256-MGxlzAEcd2EzIjAjY7/1xg1ZQhyL7dcFmCzfY9+jGJ4="; }; - propagatedBuildInputs = [ pysnmp ]; + propagatedBuildInputs = [ + async-timeout + pysnmp + ]; # Project has no test doCheck = false; - pythonImportsCheck = [ "atenpdu" ]; + + pythonImportsCheck = [ + "atenpdu" + ]; meta = with lib; { description = "Python interface to control ATEN PE PDUs";