2012-10-21 07:17:14 +02:00
|
|
|
{ fetchurl, stdenv, acl, openssl, libxml2, attr, zlib, bzip2, e2fsprogs, xz
|
2012-04-19 23:40:07 +02:00
|
|
|
, sharutils }:
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-21 07:17:14 +02:00
|
|
|
name = "libarchive-3.0.4";
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-10-21 07:17:14 +02:00
|
|
|
url = "https://github.com/downloads/libarchive/libarchive/${name}.tar.gz";
|
|
|
|
sha256 = "76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac";
|
2009-04-22 01:18:09 +02:00
|
|
|
};
|
|
|
|
|
2012-10-21 07:17:14 +02:00
|
|
|
propagatedBuildInputs = [ libxml2 zlib bzip2 openssl xz ] ++
|
2012-04-19 23:40:07 +02:00
|
|
|
stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ];
|
2011-03-25 13:55:22 +01:00
|
|
|
|
2012-04-19 23:40:07 +02:00
|
|
|
buildInputs = [ sharutils ];
|
2011-03-25 13:55:22 +01:00
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
meta = {
|
2012-10-21 07:17:14 +02:00
|
|
|
description = "Multi-format archive and compression library";
|
|
|
|
longDescription = ''
|
|
|
|
This library has code for detecting and reading many archive formats and
|
|
|
|
compressions formats including (but not limited to) tar, shar, cpio, zip, and
|
|
|
|
compressed with gzip, bzip2, lzma, xz, ..
|
|
|
|
'';
|
|
|
|
homepage = http://libarchive.github.com/;
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
2009-04-22 01:18:09 +02:00
|
|
|
};
|
|
|
|
}
|