From 118560335c345bf0a315d6c8b333c9c553006b50 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 11 Nov 2007 16:19:00 +0000 Subject: [PATCH] Added libzip svn path=/nixpkgs/trunk/; revision=9637 --- pkgs/development/libraries/libzip/default.nix | 16 ++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/libzip/default.nix diff --git a/pkgs/development/libraries/libzip/default.nix b/pkgs/development/libraries/libzip/default.nix new file mode 100644 index 000000000000..2a5507ef0068 --- /dev/null +++ b/pkgs/development/libraries/libzip/default.nix @@ -0,0 +1,16 @@ +args: with args; + +stdenv.mkDerivation { + name = "libzip-0.8"; + src = fetchurl { + url = http://www.nih.at/libzip/libzip-0.8.tar.gz; + sha256 = "0iy04c3b2yfwl9lpgwzm12qkdskbxj8l91r6mgn8f6ib00fj66ss"; + }; + configureFlags = "--enable-shared --disable-static"; + buildInputs = [zlib]; + + meta = { + homepage = http://www.nih.at/libzip; + description = "A C library for reading, creating and modifying zip archives"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d0254b75855..a52facf6dd1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2072,6 +2072,10 @@ rec { includeUnpack = getConfig ["stdenv" "includeUnpack"] false; }); + libzip = import ../development/libraries/libzip { + inherit fetchurl stdenv zlib; + }; + lzo = import ../development/libraries/lzo { inherit fetchurl stdenv; };