1{ buildPythonPackage, fetchPypi, lib, pypiserver, pytestCheckHook 2, setuptools-scm, virtualenv }: 3 4buildPythonPackage rec { 5 pname = "setuptools-declarative-requirements"; 6 version = "1.2.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1l8zmcnp9h8sp8hsw7b81djaa1a9yig0y7i4phh5pihqz1gdn7yi"; 11 }; 12 13 buildInputs = [ setuptools-scm ]; 14 15 checkInputs = [ 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}