mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
29 lines
650 B
Nix
29 lines
650 B
Nix
{ python3
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nix-prefetch-github";
|
|
version = "2.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "seppeljordan";
|
|
repo = "nix-prefetch-github";
|
|
rev = "v${version}";
|
|
sha256 = "13wvq13iiva97a16kahfpxar5ppb015nnbn7d4v9s9jyxdickc2c";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|