depot/third_party/nixpkgs/pkgs/development/python-modules/setuptools-declarative-requirements/default.nix
Default email 170c3b4027 Project import generated by Copybara.
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
2021-05-03 22:48:10 +02:00

28 lines
779 B
Nix

{ 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 ];
};
}