From cce1c60fb4ea8c82d6383f2e53b570cb7c9461d7 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Sat, 16 May 2026 04:49:29 -0400 Subject: [PATCH 1/2] zathura_core: set strictDeps, structuredAttrs, add versionCheckHook Signed-off-by: Ethan Carter Edwards --- pkgs/applications/misc/zathura/core/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/misc/zathura/core/default.nix b/pkgs/applications/misc/zathura/core/default.nix index 082909847351..8b9cb7023887 100644 --- a/pkgs/applications/misc/zathura/core/default.nix +++ b/pkgs/applications/misc/zathura/core/default.nix @@ -28,12 +28,16 @@ librsvg, gtk-mac-integration, webp-pixbuf-loader, + versionCheckHook, }: stdenv.mkDerivation (finalAttrs: { pname = "zathura"; version = "2026.02.09"; + strictDeps = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "pwmt"; repo = "zathura"; @@ -102,6 +106,9 @@ stdenv.mkDerivation (finalAttrs: { doCheck = !stdenv.hostPlatform.isDarwin; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + passthru.updateScript = gitUpdater { }; meta = { From 35d4d899932bf76482b54888fbaa201cfb093e31 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Sat, 16 May 2026 15:56:41 -0400 Subject: [PATCH 2/2] zathura: set meta.mainProgram Signed-off-by: Ethan Carter Edwards --- pkgs/applications/misc/zathura/core/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/zathura/core/default.nix b/pkgs/applications/misc/zathura/core/default.nix index 8b9cb7023887..97c5933093f3 100644 --- a/pkgs/applications/misc/zathura/core/default.nix +++ b/pkgs/applications/misc/zathura/core/default.nix @@ -117,5 +117,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.zlib; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ mithicspirit ]; + mainProgram = "zathura"; }; })