mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
42469337d7
svn path=/nixpkgs/trunk/; revision=28775
31 lines
853 B
Nix
31 lines
853 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "fdupes-1.50-PR2";
|
|
src = fetchurl {
|
|
url = http://fdupes.googlecode.com/files/fdupes-1.50-PR2.tar.gz;
|
|
sha256 = "068nxcn3xilaphq53sywli9ndydy4gijfi2mz7h45kpy0q9cgwjs";
|
|
};
|
|
|
|
# workaround: otherwise make install fails (should be fixed in trunk)
|
|
preInstall = "ensureDir $out/bin $out/man/man1";
|
|
|
|
makeFlags = "PREFIX=\${out}";
|
|
|
|
preBuild = "type -p make";
|
|
|
|
meta = {
|
|
description = "identifies duplicate files residing within specified directories.";
|
|
longDescription = ''
|
|
FDUPES uses md5sums and then a byte by byte comparison to finde duplicate
|
|
files within a set of directories.
|
|
'';
|
|
homepage = http://code.google.com/p/fdupes/;
|
|
license = "MIT";
|
|
platforms = stdenv.lib.platforms.all;
|
|
maintainers = [
|
|
stdenv.lib.maintainers.z77z
|
|
];
|
|
};
|
|
}
|