lite-xl: 2.1.1 -> 2.1.3

This commit is contained in:
sefidel 2023-12-29 16:20:46 +09:00
parent 59fa082abd
commit 14d722d567
No known key found for this signature in database
GPG key ID: 2A34577ACC81480A

View file

@ -1,5 +1,4 @@
{ agg { fetchFromGitHub
, fetchFromGitHub
, Foundation , Foundation
, freetype , freetype
, lib , lib
@ -8,35 +7,36 @@
, ninja , ninja
, pcre2 , pcre2
, pkg-config , pkg-config
, reproc
, SDL2 , SDL2
, stdenv , stdenv
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lite-xl"; pname = "lite-xl";
version = "2.1.1"; version = "2.1.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lite-xl"; owner = "lite-xl";
repo = "lite-xl"; repo = "lite-xl";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-tZ9bCazs4ygNl5RKFNUtxboaMcG8a7mIz2FuiExX1d4="; hash = "sha256-4ykUdcNwJ4r/4u9H+c8pgupY3BaPi2y69X6yaDjCjac=";
}; };
nativeBuildInputs = [ meson ninja pkg-config ]; nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ buildInputs = [
agg
freetype freetype
lua5_4 lua5_4
pcre2 pcre2
reproc
SDL2 SDL2
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
Foundation Foundation
]; ];
mesonFlags = [
"-Duse_system_lua=true"
];
meta = with lib; { meta = with lib; {
description = "A lightweight text editor written in Lua"; description = "A lightweight text editor written in Lua";
homepage = "https://github.com/lite-xl/lite-xl"; homepage = "https://github.com/lite-xl/lite-xl";