1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/archivers/dar/default.nix

29 lines
751 B
Nix
Raw Normal View History

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