From 09eb354d2a59b7e62edd660b043c2315fe0eaee1 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 4 Jan 2024 11:47:02 +0800 Subject: [PATCH] ags: update build dependencies and metadata --- pkgs/ags/default.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pkgs/ags/default.nix b/pkgs/ags/default.nix index 22731140..4bc0fc61 100644 --- a/pkgs/ags/default.nix +++ b/pkgs/ags/default.nix @@ -1,5 +1,4 @@ -{ stdenv -, lib +{ lib , buildNpmPackage , fetchFromGitHub , meson @@ -7,8 +6,14 @@ , pkg-config , gobject-introspection , gjs -, gtk3 +, glib-networking +, gnome +, gtk-layer-shell , libpulseaudio +, libsoup_3 +, networkmanager +, upower +, wrapGAppsHook }: buildNpmPackage rec { @@ -29,14 +34,21 @@ buildNpmPackage rec { meson ninja pkg-config - gobject-introspection gjs + gobject-introspection + wrapGAppsHook ]; + # Most of the build inputs here are basically needed for their typelibs. buildInputs = [ gjs - gtk3 + glib-networking + gnome.gnome-bluetooth + gtk-layer-shell libpulseaudio + libsoup_3 + networkmanager + upower ]; # TODO: I have no idea how to properly make use of the binaries from @@ -51,6 +63,7 @@ buildNpmPackage rec { description = "A EWW-inspired widget system as a GJS library"; license = licenses.gpl3Plus; maintainers = with maintainers; [ foo-dogsquared ]; + mainProgram = "ags"; platforms = platforms.linux; }; }