Merge pull request #59752 from dtzWill/feature/dedup

dedup: init at 1.0
This commit is contained in:
Will Dietz 2019-04-28 00:28:06 -05:00 committed by GitHub
commit 6a73992cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, lz4, snappy, openmp }:
stdenv.mkDerivation rec {
pname = "dedup";
version = "1.0";
src = fetchurl {
url = "https://dl.2f30.org/releases/${pname}-${version}.tar.gz";
sha256 = "0wd4cnzhqk8l7byp1y16slma6r3i1qglwicwmxirhwdy1m7j5ijy";
};
makeFlags = [
"CC:=$(CC)"
"PREFIX=${placeholder "out"}"
"MANPREFIX=${placeholder "out"}/share/man"
# These are likely wrong on some platforms, please report!
"OPENMPCFLAGS=-fopenmp"
"OPENMPLDLIBS=-lgomp"
];
buildInputs = [ lz4 snappy openmp ];
meta = with stdenv.lib; {
description = "data deduplication program";
homepage = https://git.2f30.org/dedup/file/README.html;
license = with licenses; [ bsd0 isc ];
maintainers = with maintainers; [ dtzWill ];
};
}

View File

@ -1331,6 +1331,10 @@ in
ddate = callPackage ../tools/misc/ddate { };
dedup = callPackage ../tools/backup/dedup {
inherit (llvmPackages) openmp;
};
dehydrated = callPackage ../tools/admin/dehydrated { };
deis = callPackage ../development/tools/deis {};