1{stdenv, fetchurl, flex}:
2
3stdenv.mkDerivation {
4 name = "detox-1.2.0";
5
6 src = fetchurl {
7 url = mirror://sourceforge/detox/1.2.0/detox-1.2.0.tar.gz;
8 sha256 = "02cfkf3yhw64xg8mksln8w24gdwgm2x9g3vps7gn6jbjbfd8mh45";
9 };
10
11 buildInputs = [flex];
12
13 meta = with stdenv.lib; {
14 homepage = http://detox.sourceforge.net/;
15 description = "Utility designed to clean up filenames";
16 longDescription = ''
17 Detox is a utility designed to clean up filenames. It replaces
18 difficult to work with characters, such as spaces, with standard
19 equivalents. It will also clean up filenames with UTF-8 or Latin-1
20 (or CP-1252) characters in them.
21 '';
22 license = licenses.bsd3;
23 platforms = platforms.linux;
24 maintainers = with maintainers; [ jgeerds ];
25 };
26}