forked from mirrors/nixpkgs
libarchive: 2.4.12 added
svn path=/nixpkgs/branches/stdenv-updates/; revision=10745
This commit is contained in:
parent
8ea549b319
commit
0b2d493521
2
pkgs/development/libraries/libarchive/2.4.11.nix
Normal file
2
pkgs/development/libraries/libarchive/2.4.11.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
args:
|
||||
import ./common.nix "1iq5hs4hbqyl6sqiqlaj3j89vpfqx6zv974c965nxjvmwy816dbz" args
|
2
pkgs/development/libraries/libarchive/2.4.12.nix
Normal file
2
pkgs/development/libraries/libarchive/2.4.12.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
args:
|
||||
import ./common.nix "133kxx1wfangrhy6rcpqlqib7i45qxj8pcp3i9n574cwfx41swy4" args
|
18
pkgs/development/libraries/libarchive/common.nix
Normal file
18
pkgs/development/libraries/libarchive/common.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
sha256: args: with args;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libarchive-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/${name}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [zlib bzip2 e2fsprogs];
|
||||
buildInputs = [sharutils];
|
||||
configureFlags = "--enable-shared --disable-static";
|
||||
|
||||
meta = {
|
||||
description = "A library for reading and writing streaming archives";
|
||||
homepage = http://people.freebsd.org/~kientzle/libarchive;
|
||||
};
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
args: with args;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libarchive-2.4.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://FIXME_dont_remember/${name}.tar.gz";
|
||||
sha256 = "1iq5hs4hbqyl6sqiqlaj3j89vpfqx6zv974c965nxjvmwy816dbz";
|
||||
};
|
||||
|
||||
buildInputs = [zlib];
|
||||
|
||||
meta = {
|
||||
description = "A library for reading and writing streaming archives";
|
||||
};
|
||||
}
|
|
@ -2164,8 +2164,8 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
libarchive = import ../development/libraries/libarchive {
|
||||
inherit fetchurl stdenv zlib;
|
||||
libarchive = selectVersion ../development/libraries/libarchive "2.4.12" {
|
||||
inherit fetchurl stdenv zlib bzip2 e2fsprogs sharutils;
|
||||
};
|
||||
|
||||
libassuan = import ../development/libraries/libassuan {
|
||||
|
|
Loading…
Reference in a new issue