2019-10-26 22:36:08 +01:00
|
|
|
{ fetchPypi
|
|
|
|
, lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, attrs
|
|
|
|
, click
|
|
|
|
, effect
|
|
|
|
, jinja2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nix-prefetch-github";
|
2020-06-02 15:35:26 +01:00
|
|
|
version = "2.4";
|
2019-10-26 22:36:08 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-02 15:35:26 +01:00
|
|
|
sha256 = "sha256-PVB/cL0NVB5pHxRMjg8TLatvIvHjfCvaRWBanVHYT+E=";
|
2019-10-26 22:36:08 +01:00
|
|
|
};
|
|
|
|
|
2020-06-02 15:35:26 +01:00
|
|
|
# The tests for this package require nix and network access. That's
|
|
|
|
# why we cannot execute them inside the building process.
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-10-26 22:36:08 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
attrs
|
|
|
|
click
|
|
|
|
effect
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Prefetch sources from github";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/seppeljordan/nix-prefetch-github";
|
2019-10-26 22:36:08 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ seppeljordan ];
|
|
|
|
};
|
|
|
|
}
|