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