ags: 1.6.3-beta -> 1.7.4

This commit is contained in:
Gabriel Arazas 2024-02-11 17:48:54 +08:00
parent bd52c17399
commit 9924974ac9
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -14,21 +14,26 @@
, networkmanager
, upower
, wrapGAppsHook
, linux-pam
}:
buildNpmPackage rec {
pname = "ags";
version = "1.6.3-beta";
version = "1.7.4";
src = fetchFromGitHub {
owner = "Aylur";
repo = "ags";
rev = "v${version}";
hash = "sha256-SflyLMJyp9mtivTHGMpvdhSfVp3p8gVznsCvt61vLUk=";
hash = "sha256-n/NHEME+kCUIsvQhwEqqtIi14qd+/QsKFz+Bw7bEr8w=";
fetchSubmodules = true;
};
npmDepsHash = "sha256-xTeidwd9VTpuAXoKo8zp26JSV1e9KPJElHztS8DpTvQ=";
npmDepsHash = "sha256-ucWdADdMqAdLXQYKGOXHNRNM9bhjKX4vkMcQ8q/GZ20=";
mesonFlags = [
(lib.mesonBool "build_types" true)
];
nativeBuildInputs = [
meson
@ -47,6 +52,7 @@ buildNpmPackage rec {
gtk-layer-shell
libpulseaudio
libsoup_3
linux-pam
networkmanager
upower
];
@ -58,6 +64,10 @@ buildNpmPackage rec {
addToSearchPath PATH $PWD/node_modules/.bin
'';
postPatch = ''
chmod u+x ./post_install.sh && patchShebangs ./post_install.sh
'';
meta = with lib; {
homepage = "https://github.com/Aylur/ags";
description = "A EWW-inspired widget system as a GJS library";