lol

fdupes: switch to fdupes-jody patch set

This adds a lot of useful features implemented in a reasonable way (unlike
debian patches).

+15 -12
+15 -12
pkgs/tools/misc/fdupes/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {stdenv, fetchFromGitHub}: 2 2 3 - stdenv.mkDerivation { 4 - name = "fdupes-1.51"; 5 - src = fetchurl { 6 - url = https://github.com/adrianlopezroche/fdupes/archive/fdupes-1.51.tar.gz; 7 - sha256 = "11j96vxl9vg3jsnxqxskrv3gad6dh7hz2zpyc8n31xzyxka1c7kn"; 3 + stdenv.mkDerivation rec { 4 + name = "fdupes-20150902"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "jbruchon"; 8 + repo = "fdupes-jody"; 9 + rev = "414b1fd64c0a739d4c52228eb72487782855b939"; 10 + sha256 = "1q6jcj79pljm1f24fqgk8x53xz2x0p1986znw75iljxqyzbvw0ap"; 8 11 }; 9 - 10 - # workaround: otherwise make install fails (should be fixed in trunk) 11 - preInstall = "mkdir -p $out/bin $out/man/man1"; 12 12 13 13 makeFlags = "PREFIX=\${out}"; 14 14 15 15 meta = { 16 16 description = "Identifies duplicate files residing within specified directories"; 17 17 longDescription = '' 18 - FDUPES uses md5sums and then a byte by byte comparison to finde duplicate 19 - files within a set of directories. 18 + FDUPES compares inodes' stats, hash sums, and byte by byte file 19 + contents to find duplicate files within a set of directories and 20 + then applies various actions to those sets, e.g.: 21 + * remove some of the duplicates, 22 + * turn all the files in a set into hardlinks. 20 23 ''; 21 - homepage = http://code.google.com/p/fdupes/; 24 + homepage = src.meta.homepage; 22 25 license = stdenv.lib.licenses.mit; 23 26 platforms = stdenv.lib.platforms.all; 24 27 maintainers = [