Author: viric
Date: Mon Sep  6 07:21:08 2010
New Revision: 23655
URL: https://svn.nixos.org/websvn/nix/?rev=23655&sc=1

Log:
Applying the patch adding 'detox' from Tom Ridge and Karn Kallio.

Added:
   nixpkgs/trunk/pkgs/tools/misc/detox/
   nixpkgs/trunk/pkgs/tools/misc/detox/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/tools/misc/detox/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/misc/detox/default.nix     Mon Sep  6 07:21:08 
2010        (r23655)
@@ -0,0 +1,24 @@
+{stdenv, fetchurl, flex}:
+
+stdenv.mkDerivation {
+  name = "detox-1.2.0";
+
+  src = fetchurl {
+    url = mirror://sourceforge/detox/1.2.0/detox-1.2.0.tar.gz;
+    sha256 = "02cfkf3yhw64xg8mksln8w24gdwgm2x9g3vps7gn6jbjbfd8mh45";
+  };
+
+  buildInputs = [flex];
+
+  meta = {
+    description = "Detox is a utility designed to clean up filenames.";
+    longDescription = ''
+      Detox is a utility designed to clean up filenames. It replaces
+      difficult to work with characters, such as spaces, with standard
+      equivalents. It will also clean up filenames with UTF-8 or Latin-1
+      (or CP-1252) characters in them.
+    '';
+    homepage = "http://detox.sourceforge.net/";;
+    license = "bsd";
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Sep  6 07:17:20 
2010        (r23654)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Sep  6 07:21:08 
2010        (r23655)
@@ -517,6 +517,8 @@
 
   debootstrap = callPackage ../tools/misc/debootstrap { };
 
+  detox = callPackage ../tools/misc/detox { };
+
   ddclient = callPackage ../tools/networking/ddclient { };
 
   ddrescue = callPackage ../tools/system/ddrescue { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to