lol

nix-prefetch: cleanup

authored by

Sandro and committed by
GitHub
72775d4e 5803b41b

+3 -6
+3 -6
pkgs/tools/package-management/nix-prefetch/default.nix
··· 2 , docbook_xml_dtd_45, git, docbook_xsl, libxml2, libxslt, coreutils, gawk 3 , gnugrep, gnused, jq, nix }: 4 5 - let 6 - binPath = lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ]; 7 - 8 - in stdenv.mkDerivation rec { 9 pname = "nix-prefetch"; 10 version = "0.4.1"; 11 ··· 55 install -Dm555 -t $lib src/*.sh 56 install -Dm444 -t $lib lib/* 57 makeWrapper $lib/main.sh $out/bin/${pname} \ 58 - --prefix PATH : ${binPath} 59 60 installManPage doc/nix-prefetch.? 61 ··· 69 description = "Prefetch any fetcher function call, e.g. package sources"; 70 license = licenses.mit; 71 maintainers = with maintainers; [ msteen ]; 72 - inherit (src.meta) homepage; 73 platforms = platforms.all; 74 }; 75 }
··· 2 , docbook_xml_dtd_45, git, docbook_xsl, libxml2, libxslt, coreutils, gawk 3 , gnugrep, gnused, jq, nix }: 4 5 + stdenv.mkDerivation rec { 6 pname = "nix-prefetch"; 7 version = "0.4.1"; 8 ··· 52 install -Dm555 -t $lib src/*.sh 53 install -Dm444 -t $lib lib/* 54 makeWrapper $lib/main.sh $out/bin/${pname} \ 55 + --prefix PATH : ${lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ]} 56 57 installManPage doc/nix-prefetch.? 58 ··· 66 description = "Prefetch any fetcher function call, e.g. package sources"; 67 license = licenses.mit; 68 maintainers = with maintainers; [ msteen ]; 69 + homepage = "https://github.com/msteen/nix-prefetch"; 70 platforms = platforms.all; 71 }; 72 }