nixpkgs-suyu/pkgs/tools/archivers/dar/default.nix
2017-03-24 16:06:41 -05:00

28 lines
751 B
Nix

{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dar-2.5.9";
src = fetchurl {
url = "mirror://sourceforge/dar/${name}.tar.gz";
sha256 = "0bm91d82amh5h2sla2ngbpxd0l64alcdjhxz35bhj3cpz9562wv9";
};
buildInputs = [ zlib bzip2 openssl lzo libgcrypt gpgme xz ]
++ optionals stdenv.isLinux [ attr e2fsprogs ];
configureFlags = [ "--disable-dar-static" ];
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
meta = {
homepage = http://dar.linux.free.fr/;
description = "Disk ARchiver, allows backing up files into indexed archives";
maintainers = [ maintainers.viric ];
platforms = platforms.unix;
};
}