aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/misc/jdupes/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/jdupes/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/misc/jdupes/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/tools/misc/jdupes/default.nix b/nixpkgs/pkgs/tools/misc/jdupes/default.nix
index bf1501155d9..109a84de631 100644
--- a/nixpkgs/pkgs/tools/misc/jdupes/default.nix
+++ b/nixpkgs/pkgs/tools/misc/jdupes/default.nix
@@ -2,20 +2,25 @@
stdenv.mkDerivation rec {
pname = "jdupes";
- version = "1.13.2";
+ version = "1.14.0";
src = fetchFromGitHub {
owner = "jbruchon";
repo = "jdupes";
rev = "v${version}";
- sha256 = "1dzw1h9x9addkxf7r8lb8y09wmdkx8i61f5m96589r88jjk965xy";
+ sha256 = "18hn25f7cdz1li0vvx74al7a8z2220xhzjp9j6idhldsmjnscgq8";
# Unicode file names lead to different checksums on HFS+ vs. other
# filesystems because of unicode normalisation. The testdir
# directories have such files and will be removed.
extraPostFetch = "rm -r $out/testdir";
};
- makeFlags = [ "PREFIX=$(out)" ] ++ stdenv.lib.optional stdenv.isLinux "ENABLE_BTRFS=1";
+ makeFlags = [
+ "PREFIX=${placeholder "out"}"
+ ] ++ stdenv.lib.optionals stdenv.isLinux [
+ "ENABLE_DEDUPE=1"
+ "STATIC_DEDUPE_H=1"
+ ];
enableParallelBuilding = true;
@@ -32,7 +37,7 @@ stdenv.mkDerivation rec {
duplicate files. This fork known as 'jdupes' is heavily modified
from and improved over the original.
'';
- homepage = https://github.com/jbruchon/jdupes;
+ homepage = "https://github.com/jbruchon/jdupes";
license = licenses.mit;
maintainers = with maintainers; [ romildo ];
platforms = platforms.all;