2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
pypiserver,
|
|
|
|
pytestCheckHook,
|
|
|
|
setuptools-scm,
|
|
|
|
virtualenv,
|
|
|
|
}:
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "setuptools-declarative-requirements";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.3.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-V6W5u5rTUMJ46Kpr5M3rvNklubpx1qcSoXimGM+4mPc=";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools-scm ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pypiserver
|
|
|
|
pytestCheckHook
|
|
|
|
virtualenv
|
|
|
|
];
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|