From 9ab0b195d1c0b63b4642af76ecf762c938116d60 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 7 May 2024 16:18:27 +0530 Subject: [PATCH 1/3] ags: 1.8.0 -> 1.8.2 add update script --- pkgs/by-name/ag/ags/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ag/ags/package.nix b/pkgs/by-name/ag/ags/package.nix index 218d8fd7780d..9f0e7a36a24c 100644 --- a/pkgs/by-name/ag/ags/package.nix +++ b/pkgs/by-name/ag/ags/package.nix @@ -16,17 +16,18 @@ , typescript , wrapGAppsHook3 , linux-pam +, nix-update-script }: buildNpmPackage rec { pname = "ags"; - version = "1.8.0"; + version = "1.8.2"; src = fetchFromGitHub { owner = "Aylur"; repo = "ags"; rev = "v${version}"; - hash = "sha256-+0us1/lawDXp6RXn4ev95a99VgpsVPi2A4jwNS2O1Uo="; + hash = "sha256-ebnkUaee/pnfmw1KmOZj+MP1g5wA+8BT/TPKmn4Dkwc="; fetchSubmodules = true; }; @@ -63,6 +64,8 @@ buildNpmPackage rec { chmod u+x ./post_install.sh && patchShebangs ./post_install.sh ''; + passthru.updateScript = nix-update-script {}; + meta = with lib; { homepage = "https://github.com/Aylur/ags"; description = "A EWW-inspired widget system as a GJS library"; From fd152d9f30bcab2f6b0e13016bc39dc89e64acf6 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 7 May 2024 16:25:28 +0530 Subject: [PATCH 2/3] ags: add johnrtitor as maintainer --- pkgs/by-name/ag/ags/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ag/ags/package.nix b/pkgs/by-name/ag/ags/package.nix index 9f0e7a36a24c..73c7acd83dee 100644 --- a/pkgs/by-name/ag/ags/package.nix +++ b/pkgs/by-name/ag/ags/package.nix @@ -70,7 +70,7 @@ buildNpmPackage rec { homepage = "https://github.com/Aylur/ags"; description = "A EWW-inspired widget system as a GJS library"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ foo-dogsquared ]; + maintainers = with maintainers; [ foo-dogsquared johnrtitor ]; mainProgram = "ags"; platforms = platforms.linux; }; From dd042ccaaef6f60beaab718d53eb678bcdae0413 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 7 May 2024 16:29:18 +0530 Subject: [PATCH 3/3] ags: format with nixfmt-rfc-style --- pkgs/by-name/ag/ags/package.nix | 55 +++++++++++++++++---------------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/pkgs/by-name/ag/ags/package.nix b/pkgs/by-name/ag/ags/package.nix index 73c7acd83dee..85fb28aa12a3 100644 --- a/pkgs/by-name/ag/ags/package.nix +++ b/pkgs/by-name/ag/ags/package.nix @@ -1,22 +1,23 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -, meson -, ninja -, pkg-config -, gobject-introspection -, gjs -, glib-networking -, gnome -, gtk-layer-shell -, libpulseaudio -, libsoup_3 -, networkmanager -, upower -, typescript -, wrapGAppsHook3 -, linux-pam -, nix-update-script +{ + lib, + buildNpmPackage, + fetchFromGitHub, + meson, + ninja, + pkg-config, + gobject-introspection, + gjs, + glib-networking, + gnome, + gtk-layer-shell, + libpulseaudio, + libsoup_3, + networkmanager, + upower, + typescript, + wrapGAppsHook3, + linux-pam, + nix-update-script, }: buildNpmPackage rec { @@ -33,9 +34,7 @@ buildNpmPackage rec { npmDepsHash = "sha256-ucWdADdMqAdLXQYKGOXHNRNM9bhjKX4vkMcQ8q/GZ20="; - mesonFlags = [ - (lib.mesonBool "build_types" true) - ]; + mesonFlags = [ (lib.mesonBool "build_types" true) ]; nativeBuildInputs = [ meson @@ -66,12 +65,16 @@ buildNpmPackage rec { passthru.updateScript = nix-update-script {}; - meta = with lib; { + meta = { homepage = "https://github.com/Aylur/ags"; description = "A EWW-inspired widget system as a GJS library"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ foo-dogsquared johnrtitor ]; + changelog = "https://github.com/Aylur/ags/releases/tag/v${version}"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ + foo-dogsquared + johnrtitor + ]; mainProgram = "ags"; - platforms = platforms.linux; + platforms = lib.platforms.linux; }; }