mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
29 lines
751 B
Nix
29 lines
751 B
Nix
{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dar-2.5.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/dar/${name}.tar.gz";
|
|
sha256 = "0bm91d82amh5h2sla2ngbpxd0l64alcdjhxz35bhj3cpz9562wv9";
|
|
};
|
|
|
|
buildInputs = [ zlib bzip2 openssl lzo libgcrypt gpgme xz ]
|
|
++ optionals stdenv.isLinux [ attr e2fsprogs ];
|
|
|
|
configureFlags = [ "--disable-dar-static" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = {
|
|
homepage = http://dar.linux.free.fr/;
|
|
description = "Disk ARchiver, allows backing up files into indexed archives";
|
|
maintainers = [ maintainers.viric ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|