python3Packages.invoke: update meta, add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-03-20 19:10:03 +01:00 committed by GitHub
parent 7c40872bb3
commit 0edae27e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,15 +2,19 @@
, bash
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "invoke";
version = "1.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4zLkneQEY/IBYxX1HfQjE4VXcr6GQ1aGFWvBj0W1zGw=";
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; [ ];
};
}