2016-04-17 01:21:13 +01:00
|
|
|
{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
|
2009-01-03 15:11:52 +00:00
|
|
|
|
2017-03-24 21:06:41 +00:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2009-12-17 08:08:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-12 09:39:47 +00:00
|
|
|
version = "2.5.14";
|
|
|
|
name = "dar-${version}";
|
2016-04-17 01:21:13 +01:00
|
|
|
|
2009-01-03 15:11:52 +00:00
|
|
|
src = fetchurl {
|
2018-03-12 09:39:47 +00:00
|
|
|
url = "mirror://sourceforge/dar/${name}-bis.tar.gz";
|
|
|
|
sha256 = "1sbd7n5mfqkwxy5rz2v8575y21j94ypwrpinizr3l2yy9pq49rx5";
|
2009-01-03 15:11:52 +00:00
|
|
|
};
|
|
|
|
|
2016-04-17 01:21:13 +01:00
|
|
|
buildInputs = [ zlib bzip2 openssl lzo libgcrypt gpgme xz ]
|
2017-03-24 21:06:41 +00:00
|
|
|
++ optionals stdenv.isLinux [ attr e2fsprogs ];
|
2010-07-21 16:30:25 +01:00
|
|
|
|
2016-04-17 01:21:13 +01:00
|
|
|
configureFlags = [ "--disable-dar-static" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2009-12-17 08:08:17 +00:00
|
|
|
|
2016-05-09 23:06:58 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2009-01-03 15:11:52 +00:00
|
|
|
meta = {
|
2010-07-21 16:30:25 +01:00
|
|
|
homepage = http://dar.linux.free.fr/;
|
|
|
|
description = "Disk ARchiver, allows backing up files into indexed archives";
|
2017-03-24 21:06:41 +00:00
|
|
|
maintainers = [ maintainers.viric ];
|
|
|
|
platforms = platforms.unix;
|
2009-01-03 15:11:52 +00:00
|
|
|
};
|
|
|
|
}
|