nixpkgs/pkgs/tools/backup/dar/default.nix
R. RyanTM e4395211d2 dar: 2.5.15 -> 2.5.16 (#45245)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dar/versions.
2018-08-17 21:20:51 +02:00

39 lines
953 B
Nix

{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
with stdenv.lib;
stdenv.mkDerivation rec {
version = "2.5.16";
name = "dar-${version}";
src = fetchurl {
url = "mirror://sourceforge/dar/${name}.tar.gz";
sha256 = "0fy39y6kfda0lvbymc0dblvzmli5y9bq81q0r8fwjzd105qwjmz9";
};
buildInputs = [ zlib bzip2 openssl lzo libgcrypt gpgme xz ]
++ optionals stdenv.isLinux [ attr e2fsprogs ];
configureFlags = [
"--disable-birthtime"
"--disable-upx"
"--disable-dar-static"
"--disable-build-html"
"--enable-threadar"
];
postInstall = ''
rm -r "$out"/share/dar # Disable html help
'';
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
meta = {
homepage = http://dar.linux.free.fr;
description = "Disk ARchiver, allows backing up files into indexed archives";
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}