From 483ec9c6563304cfc194a6bdc00e7eb02c1629c7 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 13 Oct 2023 04:20:00 +0000 Subject: [PATCH 1/2] zathuraPkgs.zathura_pdf_mupdf: add updateScript --- pkgs/applications/misc/zathura/pdf-mupdf/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix index 002c753caff0..1be3ad29d8a0 100644 --- a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix +++ b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix @@ -11,6 +11,7 @@ , tesseract , leptonica , mujs +, gitUpdater }: stdenv.mkDerivation rec { @@ -40,6 +41,10 @@ stdenv.mkDerivation rec { PKG_CONFIG_ZATHURA_PLUGINDIR= "lib/zathura"; + passthru.updateScript = gitUpdater { + url = "https://git.pwmt.org/pwmt/zathura-pdf-mupdf.git"; + }; + meta = with lib; { homepage = "https://pwmt.org/projects/zathura-pdf-mupdf/"; description = "A zathura PDF plugin (mupdf)"; From 656f622292eb5af5e46a39695436c13f6c506648 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 13 Oct 2023 04:20:00 +0000 Subject: [PATCH 2/2] zathuraPkgs.zathura_pdf_mupdf: 0.4.0 -> 0.4.1 Diff: https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/compare/0.4.0...0.4.1 --- pkgs/applications/misc/zathura/pdf-mupdf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix index 1be3ad29d8a0..1e4ec0f7653f 100644 --- a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix +++ b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix @@ -15,12 +15,12 @@ }: stdenv.mkDerivation rec { - version = "0.4.0"; + version = "0.4.1"; pname = "zathura-pdf-mupdf"; src = fetchurl { url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz"; - sha256 = "0pcjxvlh4hls8mjhjghhhihyy2kza8l27wdx0yq4bkd1g1b5f74c"; + hash = "sha256-+YKgHWUj+iVmk4EYTAamJe2/15YcvbBxHcz9ucQCrC8="; }; nativeBuildInputs = [ meson ninja pkg-config ];