diff --git a/pkgs/development/python-modules/invoke/default.nix b/pkgs/development/python-modules/invoke/default.nix index 45c341c209cf..45711a3dc20e 100644 --- a/pkgs/development/python-modules/invoke/default.nix +++ b/pkgs/development/python-modules/invoke/default.nix @@ -2,15 +2,19 @@ , bash , buildPythonPackage , fetchPypi +, pythonOlder }: buildPythonPackage rec { pname = "invoke"; - version = "1.6.0"; + version = "1.7.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "374d1e2ecf78981da94bfaf95366216aaec27c2d6a7b7d5818d92da55aa258d3"; + hash = "sha256-4zLkneQEY/IBYxX1HfQjE4VXcr6GQ1aGFWvBj0W1zGw="; }; patchPhase = '' @@ -20,8 +24,14 @@ buildPythonPackage rec { # errors with vendored libs doCheck = false; - meta = { + pythonImportsCheck = [ + "invoke" + ]; + + meta = with lib; { description = "Pythonic task execution"; - license = lib.licenses.bsd2; + homepage = "https://www.pyinvoke.org/"; + license = licenses.bsd2; + maintainers = with maintainers; [ ]; }; }