From c081e2b8941ed58fe8b8c70b32a9a1ca9ac5a276 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Thu, 13 Feb 2025 15:32:21 -0300 Subject: [PATCH 1/2] oboete: use `libcosmicAppHook` --- pkgs/by-name/ob/oboete/package.nix | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/pkgs/by-name/ob/oboete/package.nix b/pkgs/by-name/ob/oboete/package.nix index 037d72024ce5..779ff37241e1 100644 --- a/pkgs/by-name/ob/oboete/package.nix +++ b/pkgs/by-name/ob/oboete/package.nix @@ -2,12 +2,8 @@ lib, rustPlatform, fetchFromGitHub, - pkg-config, - wrapGAppsHook3, - libxkbcommon, + libcosmicAppHook, sqlite, - vulkan-loader, - wayland, nix-update-script, }: @@ -25,27 +21,9 @@ rustPlatform.buildRustPackage rec { useFetchCargoVendor = true; cargoHash = "sha256-91JMgdpMXL0a7oZXAG5xgiulOIyVXQ5x09wN3XDeSy0="; - nativeBuildInputs = [ - pkg-config - wrapGAppsHook3 - ]; + nativeBuildInputs = [ libcosmicAppHook ]; - buildInputs = [ - libxkbcommon - sqlite - vulkan-loader - wayland - ]; - - postFixup = '' - wrapProgram $out/bin/oboete \ - --prefix LD_LIBRARY_PATH : "${ - lib.makeLibraryPath [ - libxkbcommon - wayland - ] - }" - ''; + buildInputs = [ sqlite ]; passthru = { updateScript = nix-update-script { }; From 50e7d579aa6caffeca66b86e57ef368a710e5090 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Thu, 13 Feb 2025 15:34:19 -0300 Subject: [PATCH 2/2] oboete: add HeitorAugustoLN as a maintainer --- pkgs/by-name/ob/oboete/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ob/oboete/package.nix b/pkgs/by-name/ob/oboete/package.nix index 779ff37241e1..5c8f86b09648 100644 --- a/pkgs/by-name/ob/oboete/package.nix +++ b/pkgs/by-name/ob/oboete/package.nix @@ -34,7 +34,10 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/mariinkys/oboete"; changelog = "https://github.com/mariinkys/oboete/releases/tag/${version}"; license = lib.licenses.gpl3Only; - maintainers = with lib.maintainers; [ GaetanLepage ]; + maintainers = with lib.maintainers; [ + GaetanLepage + HeitorAugustoLN + ]; platforms = lib.platforms.linux; mainProgram = "oboete"; };