about summary refs log tree commit diff
path: root/pkgs/tools/misc/fdupes
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2008-10-28 11:56:43 +0000
committerMarc Weber <marco-oweber@gmx.de>2008-10-28 11:56:43 +0000
commit489620f05c8270018109270d3ab070a25e7b25e0 (patch)
tree3a35e56cc527cd6ed886443067d63972d594e08b /pkgs/tools/misc/fdupes
parent79bcd85e812c55ca6f869921700f504585cf7b0d (diff)
added fdupes-1.40 (utility to find duplicate files) provided by Marco Maggesi
svn path=/nixpkgs/trunk/; revision=13134
Diffstat (limited to 'pkgs/tools/misc/fdupes')
-rw-r--r--pkgs/tools/misc/fdupes/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/fdupes/default.nix b/pkgs/tools/misc/fdupes/default.nix
new file mode 100644
index 0000000000000..868ea6e4b5d65
--- /dev/null
+++ b/pkgs/tools/misc/fdupes/default.nix
@@ -0,0 +1,24 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+  name = "fdupes-1.40";
+  src = fetchurl {
+    url = http://premium.caribe.net/~adrian2/programs/fdupes-1.40.tar.gz;
+    sha256 = "1ryxpckgrmqa4y7nx9a9xpg4z1r00k11kc1cm7lqv87l9g293vg1";
+  };
+
+  installPhase =  ''
+    mkdir -p $out/{bin,man/man1}
+    make INSTALLDIR=$out/bin MANPAGEDIR=$out/man install
+  '';
+
+  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://premium.caribe.net/~adrian2/fdupes.html;
+    license = "MIT";
+  };
+}