evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / nix-prefetch-github / default.nix
blobde23fe6548bdfdc3d464f37ce5605faff113ce8d
2   fetchFromGitHub,
3   lib,
4   buildPythonPackage,
5   git,
6   which,
7   pythonOlder,
8   unittestCheckHook,
9   sphinxHook,
10   sphinx-argparse,
11   parameterized,
12   setuptools,
15 buildPythonPackage rec {
16   pname = "nix-prefetch-github";
17   version = "7.1.0";
18   pyproject = true;
20   outputs = [
21     "out"
22     "man"
23   ];
24   disabled = pythonOlder "3.9";
26   src = fetchFromGitHub {
27     owner = "seppeljordan";
28     repo = "nix-prefetch-github";
29     rev = "v${version}";
30     hash = "sha256-eQd/MNlnuzXzgFzvwUMchvHoIvkIrbpGKV7iknO14Cc=";
31   };
33   nativeBuildInputs = [
34     sphinxHook
35     sphinx-argparse
36     setuptools
37   ];
38   nativeCheckInputs = [
39     unittestCheckHook
40     git
41     which
42     parameterized
43   ];
45   sphinxBuilders = [ "man" ];
46   sphinxRoot = "docs";
48   # ignore tests which are impure
49   DISABLED_TESTS = "network requires_nix_build";
51   meta = with lib; {
52     description = "Prefetch sources from github";
53     homepage = "https://github.com/seppeljordan/nix-prefetch-github";
54     license = licenses.gpl3;
55     maintainers = with maintainers; [ seppeljordan ];
56   };