dar: 2.5.14 -> 2.5.15
This commit is contained in:
39
pkgs/tools/backup/dar/default.nix
Normal file
39
pkgs/tools/backup/dar/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.5.15";
|
||||
name = "dar-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/dar/${name}.tar.gz";
|
||||
sha256 = "1h700i2k524w5rf5gr9yxl50ca5jwzqlkifay4ffcbhbkqln1n2q";
|
||||
};
|
||||
|
||||
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; [ viric ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user