From 75262bcbed4fb93daeaefc2610e0ab3493b587fc Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Wed, 1 Feb 2012 22:32:16 +0000 Subject: zip, unzip: add NLS support svn path=/nixpkgs/trunk/; revision=31961 --- pkgs/tools/archivers/zip/default.nix | 8 +++++++- pkgs/tools/archivers/zip/natspec-gentoo.patch.bz2 | Bin 0 -> 1914 bytes 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 pkgs/tools/archivers/zip/natspec-gentoo.patch.bz2 (limited to 'pkgs/tools/archivers/zip') 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 Binary files /dev/null and b/pkgs/tools/archivers/zip/natspec-gentoo.patch.bz2 differ -- cgit 1.4.1