nix-prefetch-github: Delete redundant source, build from python3Packages instead
This commit is contained in:
parent
eb2aa009a3
commit
8db9c3ef45
@ -1,29 +0,0 @@
|
|||||||
{ 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 ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -24549,7 +24549,8 @@ in
|
|||||||
|
|
||||||
nix-prefetch = callPackage ../tools/package-management/nix-prefetch { };
|
nix-prefetch = callPackage ../tools/package-management/nix-prefetch { };
|
||||||
|
|
||||||
nix-prefetch-github = callPackage ../build-support/nix-prefetch-github {};
|
nix-prefetch-github = with python3Packages;
|
||||||
|
toPythonApplication nix-prefetch-github;
|
||||||
|
|
||||||
inherit (callPackages ../tools/package-management/nix-prefetch-scripts { })
|
inherit (callPackages ../tools/package-management/nix-prefetch-scripts { })
|
||||||
nix-prefetch-bzr
|
nix-prefetch-bzr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user