dar: 2.6.9 -> 2.6.10

This commit is contained in:
Izorkin 2020-08-27 18:12:34 +03:00
parent 0b3aa3d444
commit d725486a67
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09

View File

@ -1,18 +1,28 @@
{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
{ stdenv, fetchurl
, attr, e2fsprogs
, curl, librsync, libthreadar
, gpgme, libgcrypt, openssl
, bzip2, lzo, xz, zlib
}:
with stdenv.lib;
stdenv.mkDerivation rec {
version = "2.6.9";
version = "2.6.10";
pname = "dar";
src = fetchurl {
url = "mirror://sourceforge/dar/${pname}-${version}.tar.gz";
sha256 = "1jzqq54w1dix2qdlj4hr9dpq9fnp23h102bk8d2gq6k7n2zgaj6v";
sha256 = "1ryj4xxar18hshg38j1ljhplypgmfprwqn72k1jwxi28qravg80n";
};
buildInputs = [ zlib bzip2 openssl lzo libgcrypt gpgme xz ]
++ optionals stdenv.isLinux [ attr e2fsprogs ];
outputs = [ "out" "dev" ];
buildInputs = [
curl librsync libthreadar
gpgme libgcrypt openssl
bzip2 lzo xz zlib
] ++ optionals stdenv.isLinux [ attr e2fsprogs ];
configureFlags = [
"--disable-birthtime"
@ -23,7 +33,8 @@ stdenv.mkDerivation rec {
];
postInstall = ''
rm -r "$out"/share/dar # Disable html help
# Disable html help
rm -r "$out"/share/dar
'';
enableParallelBuilding = true;
@ -33,6 +44,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://dar.linux.free.fr";
description = "Disk ARchiver, allows backing up files into indexed archives";
maintainers = with maintainers; [ izorkin ];
license = licenses.gpl2;
platforms = platforms.unix;
};