mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
b1b85d18a8
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
40 lines
942 B
Nix
40 lines
942 B
Nix
{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.6.6";
|
|
pname = "dar";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/dar/${pname}-${version}.tar.gz";
|
|
sha256 = "1pqdcb9dkjlf8wzpsnx4gcv9nhrm60glv4xadxnknnqlvzs6vips";
|
|
};
|
|
|
|
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";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|