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