summary refs log tree commit diff
path: root/pkgs/development/python-modules/setuptools-declarative-requirements/default.nix
blob: 8442ad6252aab97b6ed8972a91459c1a5e873f21 (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.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "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 ];
  };
}