mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
lite-xl: 2.1.1 -> 2.1.3
This commit is contained in:
parent
59fa082abd
commit
14d722d567
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue