tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nix-prefetch: cleanup
authored by
Sandro
and committed by
GitHub
4 years ago
72775d4e
5803b41b
+3
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
package-management
nix-prefetch
default.nix
+3
-6
pkgs/tools/package-management/nix-prefetch/default.nix
···
2
2
, docbook_xml_dtd_45, git, docbook_xsl, libxml2, libxslt, coreutils, gawk
3
3
, gnugrep, gnused, jq, nix }:
4
4
5
5
-
let
6
6
-
binPath = lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ];
7
7
-
8
8
-
in stdenv.mkDerivation rec {
5
5
+
stdenv.mkDerivation rec {
9
6
pname = "nix-prefetch";
10
7
version = "0.4.1";
11
8
···
55
52
install -Dm555 -t $lib src/*.sh
56
53
install -Dm444 -t $lib lib/*
57
54
makeWrapper $lib/main.sh $out/bin/${pname} \
58
58
-
--prefix PATH : ${binPath}
55
55
+
--prefix PATH : ${lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ]}
59
56
60
57
installManPage doc/nix-prefetch.?
61
58
···
69
66
description = "Prefetch any fetcher function call, e.g. package sources";
70
67
license = licenses.mit;
71
68
maintainers = with maintainers; [ msteen ];
72
72
-
inherit (src.meta) homepage;
69
69
+
homepage = "https://github.com/msteen/nix-prefetch";
73
70
platforms = platforms.all;
74
71
};
75
72
}