Files
nixpkgs/pkgs/by-name/mo/moe/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchurl,
lzip,
ncurses,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "moe";
version = "1.15";
src = fetchurl {
url = "mirror://gnu/moe/moe-${finalAttrs.version}.tar.lz";
hash = "sha256-QfjIsJnOMEeUXKTgl6YNkkPpxz+7JowZShLaiw2fCmY=";
};
prePatch = ''
substituteInPlace window_vector.cc --replace \
"insert( 0U, 1," \
"insert( 0U, 1U,"
'';
nativeBuildInputs = [
lzip
];
buildInputs = [
ncurses
];
strictDeps = true;
meta = {
homepage = "https://www.gnu.org/software/moe/";
description = "Small, 8-bit clean editor";
longDescription = ''
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
ASCII character encodings. It has a modeless, user-friendly interface,
online help, multiple windows, unlimited undo/redo capability, unlimited
line length, unlimited buffers, global search/replace (on all buffers at
once), block operations, automatic indentation, word wrapping, file name
completion, directory browser, duplicate removal from prompt histories,
delimiter matching, text conversion from/to UTF-8, romanization, etc.
'';
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = lib.platforms.unix;
mainProgram = "moe";
};
})
# TODO: a configurable, global moerc file