diff --git a/pkgs/development/python-modules/atenpdu/default.nix b/pkgs/development/python-modules/atenpdu/default.nix index d2f4cc0af8ce..a4bbb82af97a 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";