home-assistant: 2025.1.1 -> 2025.1.2 (#372513)
[NixPkgs.git] / pkgs / development / python-modules / setuptools-declarative-requirements / default.nix
blob694be226df0d5a41c2a9bad2c6c6618c6fb44eb3
2   buildPythonPackage,
3   fetchPypi,
4   lib,
5   pypiserver,
6   pytestCheckHook,
7   setuptools-scm,
8   virtualenv,
9 }:
11 buildPythonPackage rec {
12   pname = "setuptools-declarative-requirements";
13   version = "1.3.0";
14   format = "setuptools";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-V6W5u5rTUMJ46Kpr5M3rvNklubpx1qcSoXimGM+4mPc=";
19   };
21   buildInputs = [ setuptools-scm ];
23   nativeCheckInputs = [
24     pypiserver
25     pytestCheckHook
26     virtualenv
27   ];
29   # Tests use network
30   doCheck = false;
32   pythonImportsCheck = [ "declarative_requirements" ];
34   meta = with lib; {
35     homepage = "https://github.com/s0undt3ch/setuptools-declarative-requirements";
36     description = "Declarative setuptools Config Requirements Files Support";
37     license = licenses.asl20;
38     maintainers = [ maintainers.austinbutler ];
39   };