2008-10-28 11:56:43 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-08-23 12:52:38 +01:00
|
|
|
name = "fdupes-1.50-PR2";
|
2008-10-28 11:56:43 +00:00
|
|
|
src = fetchurl {
|
2011-08-23 12:52:38 +01:00
|
|
|
url = http://fdupes.googlecode.com/files/fdupes-1.50-PR2.tar.gz;
|
|
|
|
sha256 = "068nxcn3xilaphq53sywli9ndydy4gijfi2mz7h45kpy0q9cgwjs";
|
2008-10-28 11:56:43 +00:00
|
|
|
};
|
|
|
|
|
2011-08-23 12:52:38 +01:00
|
|
|
# workaround: otherwise make install fails (should be fixed in trunk)
|
2012-01-18 20:16:00 +00:00
|
|
|
preInstall = "mkdir -p $out/bin $out/man/man1";
|
2011-08-23 12:52:38 +01:00
|
|
|
|
|
|
|
makeFlags = "PREFIX=\${out}";
|
|
|
|
|
2008-10-28 11:56:43 +00:00
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Identifies duplicate files residing within specified directories";
|
2008-10-28 11:56:43 +00:00
|
|
|
longDescription = ''
|
|
|
|
FDUPES uses md5sums and then a byte by byte comparison to finde duplicate
|
|
|
|
files within a set of directories.
|
|
|
|
'';
|
2011-08-23 12:52:38 +01:00
|
|
|
homepage = http://code.google.com/p/fdupes/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2011-08-23 12:52:38 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.z77z
|
|
|
|
];
|
2008-10-28 11:56:43 +00:00
|
|
|
};
|
|
|
|
}
|