ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / nix-prefetch-github / default.nix
blob42533cfcacd8c739eab0ec5e35737e9707c436a1
1 { fetchFromGitHub
2 , lib
3 , buildPythonPackage
4 , git
5 , which
6 , pythonOlder
7 , unittestCheckHook
8 }:
10 buildPythonPackage rec {
11   pname = "nix-prefetch-github";
12   version = "5.2.2";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "seppeljordan";
18     repo = "nix-prefetch-github";
19     rev = "v${version}";
20     sha256 = "sha256-+0s47YhpMojxmRHKC7kazov2ZUsOs2/Y2EmHAAcARf0=";
21   };
23   checkInputs = [ unittestCheckHook git which ];
25   # ignore tests which are impure
26   DISABLED_TESTS = "network requires_nix_build";
28   meta = with lib; {
29     description = "Prefetch sources from github";
30     homepage = "https://github.com/seppeljordan/nix-prefetch-github";
31     license = licenses.gpl3;
32     maintainers = with maintainers; [ seppeljordan ];
33   };