mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
31 lines
660 B
Nix
31 lines
660 B
Nix
{ python3
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nix-prefetch-github";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "seppeljordan";
|
|
repo = "nix-prefetch-github";
|
|
rev = "${version}";
|
|
sha256 = "1rinbv1q4q8m27ih6l81w1lsmwn6cz7q3iyjiycklywpi8684dh6";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
attrs
|
|
click
|
|
effect
|
|
jinja2
|
|
requests
|
|
];
|
|
meta = with stdenv.lib; {
|
|
description = "Prefetch sources from github";
|
|
homepage = https://github.com/seppeljordan/nix-prefetch-github;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.seppeljordan ];
|
|
};
|
|
}
|