git.iko.soy/typeable/nixpkgs
on master help sign in
nix-prefetch: 0.4.0 -> 0.4.1
commit7e2e486bbf84f6ec694bb30085f8faa5ce2a805f authorMatthijs Steen <emailmatthijs@gmail.com> dateSun 18 Jul 2021, 00:28 (5 years ago) parent80bd145
1 file changed+4−11
pkgs/tools/package-management/nix-prefetch/default.nix+4−11
pkgs/tools/package-management/nix-prefetch/default.nix+4−11
@@ -1,33 +1,25 @@
11{ lib, stdenv, fetchFromGitHub, installShellFiles, makeWrapper, asciidoc
22, docbook_xml_dtd_45, git, docbook_xsl, libxml2, libxslt, coreutils, gawk
3−, gnugrep, gnused, jq, nix, fetchpatch }:
3+, gnugrep, gnused, jq, nix }:
44
55let
66 binPath = lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ];
77
88in stdenv.mkDerivation rec {
99 pname = "nix-prefetch";
10− version = "0.4.0";
10+ version = "0.4.1";
1111
1212 src = fetchFromGitHub {
1313 owner = "msteen";
1414 repo = "nix-prefetch";
1515 rev = version;
16− sha256 = "11792677zyi06jw641xi9aywwgh9002b8406w6qids212c14va6n";
16+ sha256 = "0bwv6x651gyq703pywrhb7lfby6xwnd1iwnrzzjihipn7x3v2hz9";
1717 # the stat call has to be in a subshell or we get the current date
1818 extraPostFetch = ''
1919 echo $(stat -c %Y $out) > $out/.timestamp
2020 '';
2121 };
2222
23− patches = [
24− # Fix input_type regex for macOS systems: https://github.com/msteen/nix-prefetch/pull/24
25− (fetchpatch {
26− url = "https://github.com/msteen/nix-prefetch/commit/08282891bdb108e886eaf39be2030ba1feda1cb1.patch";
27− sha256 = "1v6ask54ind6f3784pbncv0dfg6draaaicg0q46jfvp0lafms70x";
28− })
29− ];
30−
3123 postPatch = ''
3224 lib=$out/lib/${pname}
3325
@@ -78,5 +70,6 @@ in stdenv.mkDerivation rec {
7870 license = licenses.mit;
7971 maintainers = with maintainers; [ msteen ];
8072 inherit (src.meta) homepage;
73+ platforms = platforms.all;
8174 };
8275}