about summary refs log tree commit diff
path: root/pkgs/tools/compression/lrzip
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2012-07-05 09:56:22 +0200
committerLluís Batlle i Rossell <viric@viric.name>2012-07-05 09:56:22 +0200
commit3bdc4b417f759dbd5389c08172fdea6ef2a5559c (patch)
tree056d46cc06f88a5e36c66c96737bbb499e182e57 /pkgs/tools/compression/lrzip
parent71ffa0ce4ef01257939276dcf4a40eb8701f6378 (diff)
downloadnixlib-3bdc4b417f759dbd5389c08172fdea6ef2a5559c.tar
nixlib-3bdc4b417f759dbd5389c08172fdea6ef2a5559c.tar.gz
nixlib-3bdc4b417f759dbd5389c08172fdea6ef2a5559c.tar.bz2
nixlib-3bdc4b417f759dbd5389c08172fdea6ef2a5559c.tar.lz
nixlib-3bdc4b417f759dbd5389c08172fdea6ef2a5559c.tar.xz
nixlib-3bdc4b417f759dbd5389c08172fdea6ef2a5559c.tar.zst
nixlib-3bdc4b417f759dbd5389c08172fdea6ef2a5559c.zip
lrzip: adding an upstream patch that fixes its md5 checksum.
The next version will have this fix already.
Diffstat (limited to 'pkgs/tools/compression/lrzip')
-rw-r--r--pkgs/tools/compression/lrzip/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/compression/lrzip/default.nix b/pkgs/tools/compression/lrzip/default.nix
index d806e9fd24a6..35df411fd0f2 100644
--- a/pkgs/tools/compression/lrzip/default.nix
+++ b/pkgs/tools/compression/lrzip/default.nix
@@ -1,5 +1,11 @@
 {stdenv, fetchurl, zlib, lzo, bzip2, nasm, perl}:
 
+let
+  md5fix = fetchurl {
+    url = "https://github.com/ckolivas/lrzip/commit/9430b6ff4a58adb69ef4cf74f1245fd5b3b313dd.patch";
+    sha256 = "084x4wi3mamcxphzwf43iw287v1ylrk0xjghg6b5k6vgm9gkqlx8";
+  };
+in
 stdenv.mkDerivation rec {
   name = "lrzip-0.612";
 
@@ -10,6 +16,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ zlib lzo bzip2 nasm perl ];
 
+  patches = [ md5fix ];
+
   meta = {
     homepage = http://ck.kolivas.org/apps/lrzip/;
     description = "The CK LRZIP compression program (LZMA + RZIP)";