2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2014-08-14 15:10:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kzipmix-20091108";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://static.jonof.id.au/dl/kenutils/kzipmix-20091108-linux.tar.gz";
|
2014-08-14 15:10:30 +01:00
|
|
|
sha256 = "19gyn8pblffdz1bf3xkbpzx8a8wn3xb0v411pqzmz5g5l6pm5gph";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp kzip zipmix $out/bin
|
2021-01-15 09:19:50 +00:00
|
|
|
|
2015-04-26 18:54:51 +01:00
|
|
|
patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2 $out/bin/kzip
|
|
|
|
patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2 $out/bin/zipmix
|
2014-08-14 15:10:30 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-12-30 02:31:03 +00:00
|
|
|
description = "A tool that aggressively optimizes the sizes of Zip archives";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.unfree;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://advsys.net/ken/utils.htm";
|
2021-01-15 09:19:50 +00:00
|
|
|
maintainers = [ lib.maintainers.sander ];
|
2014-08-14 15:10:30 +01:00
|
|
|
};
|
|
|
|
}
|