mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
dedup: 1.0 -> 2.0
Update deps, enable tests.
This commit is contained in:
parent
eb9a9bb22a
commit
7d4bfcae9a
@ -1,24 +1,29 @@
|
||||
{ stdenv, fetchurl, lz4, snappy, openmp }:
|
||||
{ stdenv, fetchurl, fetchgit, lz4, snappy, libsodium
|
||||
# For testing
|
||||
, coreutils, gawk
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dedup";
|
||||
version = "1.0";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.2f30.org/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "0wd4cnzhqk8l7byp1y16slma6r3i1qglwicwmxirhwdy1m7j5ijy";
|
||||
sha256 = "0n5kkni4d6blz3s94y0ddyhijb74lxv7msr2mvdmj8l19k0lrfh1";
|
||||
};
|
||||
|
||||
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 ];
|
||||
buildInputs = [ lz4 snappy libsodium ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [ coreutils gawk ];
|
||||
checkTarget = "test";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "data deduplication program";
|
||||
|
@ -1362,9 +1362,7 @@ in
|
||||
|
||||
ddate = callPackage ../tools/misc/ddate { };
|
||||
|
||||
dedup = callPackage ../tools/backup/dedup {
|
||||
inherit (llvmPackages) openmp;
|
||||
};
|
||||
dedup = callPackage ../tools/backup/dedup { };
|
||||
|
||||
dehydrated = callPackage ../tools/admin/dehydrated { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user