summary refs log tree commit diff
path: root/pkgs/development/python-modules/setuptools-declarative-requirements/default.nix
blob: ba6ff1649e629f4a2db9841ed5af88811d3942c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 ];
  };
}