1{ buildPythonPackage, fetchPypi, lib, pypiserver, pytestCheckHook
2, setuptools-scm, virtualenv }:
3
4buildPythonPackage rec {
5 pname = "setuptools-declarative-requirements";
6 version = "1.3.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 hash = "sha256-V6W5u5rTUMJ46Kpr5M3rvNklubpx1qcSoXimGM+4mPc=";
11 };
12
13 buildInputs = [ setuptools-scm ];
14
15 nativeCheckInputs = [ pypiserver pytestCheckHook virtualenv ];
16
17 # Tests use network
18 doCheck = false;
19
20 pythonImportsCheck = [ "declarative_requirements" ];
21
22 meta = with lib; {
23 homepage = "https://github.com/s0undt3ch/setuptools-declarative-requirements";
24 description = "Declarative setuptools Config Requirements Files Support";
25 license = licenses.asl20;
26 maintainers = [ maintainers.austinbutler ];
27 };
28}