mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

They are not doing anything right now. This is in preparation for their complete removal from the tree. Note: several changes that affect the derivation inputs (e.g. removal of references to stub paths in build instructions) were left out. They will be cleaned up the next iteration and will require special care. Note: this PR is a result of a mix of ugly regex (not AST) based automation and some manual labor. For reference, the regex automation part was hacked in: https://github.com/booxter/nix-clean-apple_sdk Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
50 lines
812 B
Nix
50 lines
812 B
Nix
{
|
|
fetchFromGitHub,
|
|
freetype,
|
|
lib,
|
|
lua5_4,
|
|
meson,
|
|
ninja,
|
|
pcre2,
|
|
pkg-config,
|
|
SDL2,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lite-xl";
|
|
version = "2.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lite-xl";
|
|
repo = "lite-xl";
|
|
rev = "v${version}";
|
|
hash = "sha256-Ig0XDxnll/zruAwWHwuXiqumBXgAPxuK0E1ELupvcXo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
freetype
|
|
lua5_4
|
|
pcre2
|
|
SDL2
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Duse_system_lua=true"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight text editor written in Lua";
|
|
homepage = "https://github.com/lite-xl/lite-xl";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sefidel ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "lite-xl";
|
|
};
|
|
}
|