diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-09-06 07:21:08 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-09-06 07:21:08 +0000 |
commit | 7e27052bd6963600d892aca200030b15ef5dacf9 (patch) | |
tree | bb94073ffe450726d8e88a874f539ff51f945894 /pkgs/tools/misc/detox/default.nix | |
parent | f01245ee4a116f010915eee0d1c7e8c7e3236df2 (diff) |
Applying the patch adding 'detox' from Tom Ridge and Karn Kallio.
svn path=/nixpkgs/trunk/; revision=23655
Diffstat (limited to 'pkgs/tools/misc/detox/default.nix')
-rw-r--r-- | pkgs/tools/misc/detox/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/detox/default.nix b/pkgs/tools/misc/detox/default.nix new file mode 100644 index 0000000000000..ade13382033ca --- /dev/null +++ b/pkgs/tools/misc/detox/default.nix @@ -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"; + }; +} |