Files
nixpkgs/pkgs/by-name/li/lite-xl/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

58 lines
898 B
Nix

{
fetchFromGitHub,
freetype,
lib,
lua5_4,
meson,
ninja,
cmake,
pcre2,
pkg-config,
sdl3,
stdenv,
}:
let
pname = "lite-xl";
version = "2.1.8";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "lite-xl";
repo = "lite-xl";
rev = "v${version}";
hash = "sha256-9JpD7f5vOGhLW8dBjjYUI5PSaz/XWW5sIOZCAbKhxtE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
cmake
];
buildInputs = [
freetype
lua5_4
pcre2
sdl3
];
mesonFlags = [
"-Duse_system_lua=true"
];
meta = {
description = "Lightweight text editor written in Lua";
homepage = "https://github.com/lite-xl/lite-xl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
luftmensch-luftmensch
sefidel
];
platforms = lib.platforms.unix;
mainProgram = "lite-xl";
};
}