about summary refs log tree commit diff
path: root/pkgs/tools/archivers/zip
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-02-01 22:32:16 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2012-02-01 22:32:16 +0000
commit75262bcbed4fb93daeaefc2610e0ab3493b587fc (patch)
treef2dc6dc9d2f465498a91c59a85235b97f4db92bf /pkgs/tools/archivers/zip
parent89de1150d55a69093d71b717b73422b3d3e36bd7 (diff)
downloadnixlib-75262bcbed4fb93daeaefc2610e0ab3493b587fc.tar
nixlib-75262bcbed4fb93daeaefc2610e0ab3493b587fc.tar.gz
nixlib-75262bcbed4fb93daeaefc2610e0ab3493b587fc.tar.bz2
nixlib-75262bcbed4fb93daeaefc2610e0ab3493b587fc.tar.lz
nixlib-75262bcbed4fb93daeaefc2610e0ab3493b587fc.tar.xz
nixlib-75262bcbed4fb93daeaefc2610e0ab3493b587fc.tar.zst
nixlib-75262bcbed4fb93daeaefc2610e0ab3493b587fc.zip
zip, unzip: add NLS support
svn path=/nixpkgs/trunk/; revision=31961
Diffstat (limited to 'pkgs/tools/archivers/zip')
-rw-r--r--pkgs/tools/archivers/zip/default.nix8
-rw-r--r--pkgs/tools/archivers/zip/natspec-gentoo.patch.bz2bin0 -> 1914 bytes
2 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/zip/default.nix b/pkgs/tools/archivers/zip/default.nix
index 884af0f0b035..e3b48f483254 100644
--- a/pkgs/tools/archivers/zip/default.nix
+++ b/pkgs/tools/archivers/zip/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl}:
+{ stdenv, fetchurl, libnatspec }:
 
 stdenv.mkDerivation {
   name = "zip-3.0";
@@ -12,8 +12,14 @@ stdenv.mkDerivation {
 
   installFlags="-f unix/Makefile prefix=$(out) INSTALL=cp";
 
+  patches = [ ./natspec-gentoo.patch.bz2 ];
+
+  buildInputs = [ libnatspec ];
+
   meta = {
     homepage = http://www.info-zip.org;
+    platforms = stdenv.lib.platforms.all;
+    maintainer = [ stdenv.lib.maintainers.urkud ];
   };
 }
 
diff --git a/pkgs/tools/archivers/zip/natspec-gentoo.patch.bz2 b/pkgs/tools/archivers/zip/natspec-gentoo.patch.bz2
new file mode 100644
index 000000000000..816f32aba3c3
--- /dev/null
+++ b/pkgs/tools/archivers/zip/natspec-gentoo.patch.bz2
Binary files differ