1 { lib, stdenv, fetchFromGitHub, flex, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-cTuK5EIimRVZ1nfuTa1ds6xrawYIAbwNNIkNONd9y4Q=";
14 nativeBuildInputs = [ flex autoreconfHook ];
16 hardeningDisable = [ "format" ];
19 homepage = "https://github.com/dharple/detox";
20 description = "Utility designed to clean up filenames";
21 changelog = "https://github.com/dharple/detox/blob/v${version}/CHANGELOG.md";
23 Detox is a utility designed to clean up filenames. It replaces
24 difficult to work with characters, such as spaces, with standard
25 equivalents. It will also clean up filenames with UTF-8 or Latin-1
26 (or CP-1252) characters in them.
28 license = licenses.bsd3;
29 platforms = platforms.linux;
31 mainProgram = "detox";