mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
0e5593b0f6
These packages give errors when built on, say, Darwin. svn path=/nixpkgs/trunk/; revision=26510
22 lines
625 B
Nix
22 lines
625 B
Nix
{fetchurl, stdenv, acl, openssl, libxml2, attr, zlib, bzip2, xz, e2fsprogs
|
|
, sharutils}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libarchive-2.8.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://libarchive.googlecode.com/files/${name}.tar.gz";
|
|
sha256 = "16095d15334b3c8dbb02db5af3d415f12c1c3bdd4eb43af7bbc36ab7572c0b7a";
|
|
};
|
|
|
|
propagatedBuildInputs = [libxml2 zlib bzip2 xz openssl] ++
|
|
(if stdenv.isLinux then [e2fsprogs attr acl] else []);
|
|
|
|
buildInputs = [sharutils];
|
|
|
|
meta = {
|
|
description = "A library for reading and writing streaming archives";
|
|
homepage = http://people.freebsd.org/~kientzle/libarchive;
|
|
};
|
|
}
|