python3Packages.setuptools-declarative-requirements: init at 1.2.0

This commit is contained in:
Austin Butler 2021-04-29 19:34:31 -07:00
parent 309dc32405
commit 6aa9d635d4
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ buildPythonPackage, fetchPypi, lib, pypiserver, pytestCheckHook
, setuptools-scm, virtualenv }:
buildPythonPackage rec {
pname = "setuptools-declarative-requirements";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1l8zmcnp9h8sp8hsw7b81djaa1a9yig0y7i4phh5pihqz1gdn7yi";
};
buildInputs = [ setuptools-scm ];
checkInputs = [ pypiserver pytestCheckHook virtualenv ];
# Tests use network
doCheck = false;
pythonImportsCheck = [ "declarative_requirements" ];
meta = with lib; {
homepage = "https://github.com/s0undt3ch/setuptools-declarative-requirements";
description = "Declarative setuptools Config Requirements Files Support";
license = licenses.asl20;
maintainers = [ maintainers.austinbutler ];
};
}

View file

@ -7346,6 +7346,8 @@ in {
setproctitle = callPackage ../development/python-modules/setproctitle { };
setuptools-declarative-requirements = callPackage ../development/python-modules/setuptools-declarative-requirements { };
setuptools-git = callPackage ../development/python-modules/setuptools-git { };
setuptools-lint = callPackage ../development/python-modules/setuptools-lint { };