about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/nix-prefetch-github/default.nix
blob: 56387835cc6e4e58cef1c1c1429920a9e4a6f391 (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
29
30
31
32
33
34
35
36
{ fetchPypi
, lib
, buildPythonPackage
, attrs
, click
, effect
, jinja2
}:

buildPythonPackage rec {
  pname = "nix-prefetch-github";
  version = "2.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-PVB/cL0NVB5pHxRMjg8TLatvIvHjfCvaRWBanVHYT+E=";
  };

  # The tests for this package require nix and network access.  That's
  # why we cannot execute them inside the building process.
  doCheck = false;

  propagatedBuildInputs = [
    attrs
    click
    effect
    jinja2
  ];

  meta = with lib; {
    description = "Prefetch sources from github";
    homepage = "https://github.com/seppeljordan/nix-prefetch-github";
    license = licenses.gpl3;
    maintainers = with maintainers; [ seppeljordan ];
  };
}