summary refs log tree commit diff
path: root/pkgs/tools/misc/rmlint
diff options
context:
space:
mode:
authorBenjamin Cahill <ben@benjamincahill.com>2013-06-09 13:34:50 -0500
committerBenjamin Cahill <ben@benjamincahill.com>2013-06-09 13:34:50 -0500
commit6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba (patch)
tree0b46230611fc539d4831909ffa06bb89130281b4 /pkgs/tools/misc/rmlint
parent75579b0ce30969958657c5eeb39ea7957a8de04c (diff)
downloadnixpkgs-6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba.tar
nixpkgs-6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba.tar.gz
nixpkgs-6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba.tar.bz2
nixpkgs-6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba.tar.lz
nixpkgs-6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba.tar.xz
nixpkgs-6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba.tar.zst
nixpkgs-6e6181bc89b9df5a8ea6d74bb3a45fe58293bcba.zip
Add rmlint, a tool for removing duplicate files
Diffstat (limited to 'pkgs/tools/misc/rmlint')
-rw-r--r--pkgs/tools/misc/rmlint/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/tools/misc/rmlint/default.nix b/pkgs/tools/misc/rmlint/default.nix
new file mode 100644
index 00000000000..993e20c7beb
--- /dev/null
+++ b/pkgs/tools/misc/rmlint/default.nix
@@ -0,0 +1,19 @@
+{ fetchurl, stdenv, glibc }:
+
+stdenv.mkDerivation rec {
+  name = "rmlint-1.0.8";
+
+  src = fetchurl {
+    url = "https://github.com/downloads/sahib/rmlint/rmlint_1.0.8.tar.gz";
+    sha256 = "bea39a5872b39d3596e756f242967bc5bde6febeb996fdcd63fbcf5bfdc75f01";
+  };
+
+  makeFlags="DESTDIR=$(out)";
+
+  meta = {
+    description = "A tool to remove duplicates and other lint";
+    homepage = "https://github.com/sahib/rmlint";
+    platforms = stdenv.lib.platforms.linux;
+    license = stdenv.lib.licenses.gpl3;
+  };
+}