11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
19 sha256 = "0rkk7mh6w5y1lrbdv7wmxdgl5cqzpzw0p26adazkqlfdyb6wbj9k";
22 # Fix location of Lua 5.4 header and library
24 substituteInPlace Makefile --replace "-llua5.4" "-llua";
25 substituteInPlace mle.h --replace "<lua5.4/" "<";
29 nativeBuildInputs = [ makeWrapper installShellFiles ];
31 buildInputs = [ pcre2 uthash lua5_4 ];
35 installFlags = [ "prefix=${placeholder "out"}" ];
42 description = "Small, flexible, terminal-based text editor";
43 homepage = "https://github.com/adsr/mle";
44 license = licenses.asl20;
45 platforms = platforms.unix;
46 maintainers = with maintainers; [ adsr ];