summary refs log tree commit diff
path: root/pkgs/applications/misc/mupdf
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-08-19 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-08-19 04:20:00 +0000
commit54f3eb132e88e417ed3aa55db33b75b2f8ea7967 (patch)
tree177af79810ff58c4b5d4fc7d1657439b274bd879 /pkgs/applications/misc/mupdf
parent8720d96225e970a5e28556a8fbb7c3f94d467cf1 (diff)
downloadnixpkgs-54f3eb132e88e417ed3aa55db33b75b2f8ea7967.tar
nixpkgs-54f3eb132e88e417ed3aa55db33b75b2f8ea7967.tar.gz
nixpkgs-54f3eb132e88e417ed3aa55db33b75b2f8ea7967.tar.bz2
nixpkgs-54f3eb132e88e417ed3aa55db33b75b2f8ea7967.tar.lz
nixpkgs-54f3eb132e88e417ed3aa55db33b75b2f8ea7967.tar.xz
nixpkgs-54f3eb132e88e417ed3aa55db33b75b2f8ea7967.tar.zst
nixpkgs-54f3eb132e88e417ed3aa55db33b75b2f8ea7967.zip
mupdf: add updateScript
Diffstat (limited to 'pkgs/applications/misc/mupdf')
-rw-r--r--pkgs/applications/misc/mupdf/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/misc/mupdf/default.nix b/pkgs/applications/misc/mupdf/default.nix
index 6e3d37e2ef3..eaad4c53dc5 100644
--- a/pkgs/applications/misc/mupdf/default.nix
+++ b/pkgs/applications/misc/mupdf/default.nix
@@ -27,6 +27,7 @@
 , freeglut
 , libGLU
 , xcbuild
+, gitUpdater
 
 # for passthru.tests
 , cups-filters
@@ -151,9 +152,16 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  passthru.tests = {
-    inherit cups-filters zathura;
-    inherit (python3.pkgs) pikepdf pymupdf;
+  passthru = {
+    tests = {
+      inherit cups-filters zathura;
+      inherit (python3.pkgs) pikepdf pymupdf;
+    };
+
+    updateScript = gitUpdater {
+      url = "https://git.ghostscript.com/mupdf.git";
+      ignoredVersions = ".rc.*";
+    };
   };
 
   meta = with lib; {