2012-01-18 21:53:01 +01:00
|
|
|
{fetchurl, stdenv, acl, openssl, libxml2, attr, zlib, bzip2, e2fsprogs
|
2010-04-01 20:50:43 +02:00
|
|
|
, sharutils}:
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-04-01 20:50:43 +02:00
|
|
|
name = "libarchive-2.8.3";
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-01 20:50:43 +02:00
|
|
|
url = "http://libarchive.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "16095d15334b3c8dbb02db5af3d415f12c1c3bdd4eb43af7bbc36ab7572c0b7a";
|
2009-04-22 01:18:09 +02:00
|
|
|
};
|
|
|
|
|
2012-01-18 21:53:01 +01:00
|
|
|
propagatedBuildInputs = [libxml2 zlib bzip2 openssl] ++
|
2011-03-25 13:55:22 +01:00
|
|
|
(if stdenv.isLinux then [e2fsprogs attr acl] else []);
|
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
buildInputs = [sharutils];
|
2011-03-25 13:55:22 +01:00
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
meta = {
|
|
|
|
description = "A library for reading and writing streaming archives";
|
|
|
|
homepage = http://people.freebsd.org/~kientzle/libarchive;
|
|
|
|
};
|
|
|
|
}
|