dar: cleanup
This commit is contained in:
parent
58710ad37d
commit
5b2d084e4d
1 changed files with 8 additions and 10 deletions
|
@ -7,8 +7,6 @@ args @ { lib, stdenv, llvmPackages_12, fetchurl
|
||||||
, CoreFoundation
|
, CoreFoundation
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
# Fails to build with clang-11 on Darwin:
|
# Fails to build with clang-11 on Darwin:
|
||||||
# error: exception specification of overriding function is more lax than base version
|
# error: exception specification of overriding function is more lax than base version
|
||||||
|
@ -32,10 +30,10 @@ stdenv.mkDerivation rec {
|
||||||
curl librsync libthreadar
|
curl librsync libthreadar
|
||||||
gpgme libargon2 libgcrypt openssl
|
gpgme libargon2 libgcrypt openssl
|
||||||
bzip2 lz4 lzo xz zlib
|
bzip2 lz4 lzo xz zlib
|
||||||
] ++ optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
attr
|
attr
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
] ++ optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
CoreFoundation
|
CoreFoundation
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -47,20 +45,20 @@ stdenv.mkDerivation rec {
|
||||||
"--enable-threadar"
|
"--enable-threadar"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Disable html help
|
# Disable html help
|
||||||
rm -r "$out"/share/dar
|
rm -r "$out"/share/dar
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
meta = with lib; {
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "http://dar.linux.free.fr";
|
homepage = "http://dar.linux.free.fr";
|
||||||
description = "Disk ARchiver, allows backing up files into indexed archives";
|
description = "Disk ARchiver, allows backing up files into indexed archives";
|
||||||
maintainers = with maintainers; [ izorkin ];
|
maintainers = with maintainers; [ izorkin ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Only;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue