ags: update build dependencies and metadata

This commit is contained in:
Gabriel Arazas 2024-01-04 11:47:02 +08:00
parent b30691629b
commit 09eb354d2a
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -1,5 +1,4 @@
{ stdenv { lib
, lib
, buildNpmPackage , buildNpmPackage
, fetchFromGitHub , fetchFromGitHub
, meson , meson
@ -7,8 +6,14 @@
, pkg-config , pkg-config
, gobject-introspection , gobject-introspection
, gjs , gjs
, gtk3 , glib-networking
, gnome
, gtk-layer-shell
, libpulseaudio , libpulseaudio
, libsoup_3
, networkmanager
, upower
, wrapGAppsHook
}: }:
buildNpmPackage rec { buildNpmPackage rec {
@ -29,14 +34,21 @@ buildNpmPackage rec {
meson meson
ninja ninja
pkg-config pkg-config
gobject-introspection
gjs gjs
gobject-introspection
wrapGAppsHook
]; ];
# Most of the build inputs here are basically needed for their typelibs.
buildInputs = [ buildInputs = [
gjs gjs
gtk3 glib-networking
gnome.gnome-bluetooth
gtk-layer-shell
libpulseaudio libpulseaudio
libsoup_3
networkmanager
upower
]; ];
# TODO: I have no idea how to properly make use of the binaries from # 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"; description = "A EWW-inspired widget system as a GJS library";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ]; maintainers = with maintainers; [ foo-dogsquared ];
mainProgram = "ags";
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }