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