1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/tools/archivers/dar/default.nix

30 lines
782 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 {
2018-03-12 09:39:47 +00:00
version = "2.5.14";
name = "dar-${version}";
src = fetchurl {
2018-03-12 09:39:47 +00:00
url = "mirror://sourceforge/dar/${name}-bis.tar.gz";
sha256 = "1sbd7n5mfqkwxy5rz2v8575y21j94ypwrpinizr3l2yy9pq49rx5";
};
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;
};
}