2018-04-20 11:32:29 +02:00
|
|
|
{ python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "nix-prefetch-github";
|
2019-09-02 14:32:41 +02:00
|
|
|
version = "2.3.1";
|
2018-04-20 11:32:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "seppeljordan";
|
|
|
|
repo = "nix-prefetch-github";
|
2019-02-21 22:56:22 +01:00
|
|
|
rev = "v${version}";
|
2019-09-02 14:32:41 +02:00
|
|
|
sha256 = "13wvq13iiva97a16kahfpxar5ppb015nnbn7d4v9s9jyxdickc2c";
|
2018-04-20 11:32:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
attrs
|
|
|
|
click
|
|
|
|
effect
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Prefetch sources from github";
|
|
|
|
homepage = https://github.com/seppeljordan/nix-prefetch-github;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.seppeljordan ];
|
|
|
|
};
|
|
|
|
}
|