···11-{stdenv, fetchurl}:
11+{stdenv, fetchFromGitHub}:
2233-stdenv.mkDerivation {
44- name = "fdupes-1.51";
55- src = fetchurl {
66- url = https://github.com/adrianlopezroche/fdupes/archive/fdupes-1.51.tar.gz;
77- sha256 = "11j96vxl9vg3jsnxqxskrv3gad6dh7hz2zpyc8n31xzyxka1c7kn";
33+stdenv.mkDerivation rec {
44+ name = "fdupes-20150902";
55+66+ src = fetchFromGitHub {
77+ owner = "jbruchon";
88+ repo = "fdupes-jody";
99+ rev = "414b1fd64c0a739d4c52228eb72487782855b939";
1010+ sha256 = "1q6jcj79pljm1f24fqgk8x53xz2x0p1986znw75iljxqyzbvw0ap";
811 };
99-1010- # workaround: otherwise make install fails (should be fixed in trunk)
1111- preInstall = "mkdir -p $out/bin $out/man/man1";
12121313 makeFlags = "PREFIX=\${out}";
14141515 meta = {
1616 description = "Identifies duplicate files residing within specified directories";
1717 longDescription = ''
1818- FDUPES uses md5sums and then a byte by byte comparison to finde duplicate
1919- files within a set of directories.
1818+ FDUPES compares inodes' stats, hash sums, and byte by byte file
1919+ contents to find duplicate files within a set of directories and
2020+ then applies various actions to those sets, e.g.:
2121+ * remove some of the duplicates,
2222+ * turn all the files in a set into hardlinks.
2023 '';
2121- homepage = http://code.google.com/p/fdupes/;
2424+ homepage = src.meta.homepage;
2225 license = stdenv.lib.licenses.mit;
2326 platforms = stdenv.lib.platforms.all;
2427 maintainers = [