mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
19 lines
460 B
Nix
19 lines
460 B
Nix
|
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;
|
||
|
};
|
||
|
}
|