Merge pull request #9929 from oxij/fdupes-jody

fdupes: switch to fdupes-jody patch set
This commit is contained in:
Arseniy Seroka 2015-09-19 01:37:19 +03:00
commit 6c2993284a

View File

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