diff --git a/pkgs/tools/misc/detox/default.nix b/pkgs/tools/misc/detox/default.nix new file mode 100644 index 000000000000..ade13382033c --- /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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3110971c8d06..e8d229b4ba1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -517,6 +517,8 @@ let debootstrap = callPackage ../tools/misc/debootstrap { }; + detox = callPackage ../tools/misc/detox { }; + ddclient = callPackage ../tools/networking/ddclient { }; ddrescue = callPackage ../tools/system/ddrescue { };