depot/third_party/nixpkgs/pkgs/development/python-modules/setuptools-declarative-requirements/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
835 B
Nix

{
buildPythonPackage,
fetchPypi,
lib,
pypiserver,
pytestCheckHook,
setuptools-scm,
virtualenv,
}:
buildPythonPackage rec {
pname = "setuptools-declarative-requirements";
version = "1.3.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-V6W5u5rTUMJ46Kpr5M3rvNklubpx1qcSoXimGM+4mPc=";
};
buildInputs = [ setuptools-scm ];
nativeCheckInputs = [
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 ];
};
}