forked from mirrors/nixpkgs
Added libzip
svn path=/nixpkgs/trunk/; revision=9637
This commit is contained in:
parent
9aea8727be
commit
118560335c
16
pkgs/development/libraries/libzip/default.nix
Normal file
16
pkgs/development/libraries/libzip/default.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue