nixpkgs/pkgs/tools/archivers/dar/default.nix

27 lines
766 B
Nix
Raw Normal View History

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