Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
flex,
|
|
autoreconfHook,
|
|
automake,
|
|
autoconf-archive,
|
|
libtool,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "detox";
|
|
version = "3.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dharple";
|
|
repo = "detox";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-/vcHN0FevouO3sWY69WJYuQK+V58C+vIejMdAWHgSAw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flex
|
|
autoreconfHook
|
|
automake
|
|
autoconf-archive
|
|
libtool
|
|
pkg-config
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/dharple/detox";
|
|
description = "Utility designed to clean up filenames";
|
|
changelog = "https://github.com/dharple/detox/blob/v${finalAttrs.version}/CHANGELOG.md";
|
|
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.
|
|
'';
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ ];
|
|
mainProgram = "detox";
|
|
};
|
|
})
|