pythonPackages.nix-prefetch-github: init at 2.3.1

This commit is contained in:
Sebastian Jordan 2019-10-26 23:36:08 +02:00 committed by Jon
parent ebd7466a0b
commit 7fc6425d02
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ fetchPypi
, lib
, buildPythonPackage
, attrs
, click
, effect
, jinja2
}:
buildPythonPackage rec {
pname = "nix-prefetch-github";
version = "2.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "1jkvmj33xinff0sb47yg33n131yi93pyq86skqc78xd38j6c8q9s";
};
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 ];
};
}

View File

@ -797,6 +797,8 @@ in {
inherit python;
};
nix-prefetch-github = callPackage ../development/python-modules/nix-prefetch-github { };
nixpart = callPackage ../tools/filesystems/nixpart { };
# This is used for NixOps to make sure we won't break it with the next major