diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2015-05-06 10:34:12 -0400 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2015-05-06 10:36:30 -0400 |
commit | ae8c6092e74138c6288ebab41933fc5ef512634f (patch) | |
tree | 2c8f73bcdb98c3120fe978d13196b4b826c53016 /pkgs/applications/misc/zathura | |
parent | e0bec9ece5b27494c9870ad2007f4ad7397de16f (diff) |
pwmt: update packages (zathura, jumanji, girara)
This updates (and fixes) the mupdf backend for zathura, and bumps the versions for other related packages.
Diffstat (limited to 'pkgs/applications/misc/zathura')
-rw-r--r-- | pkgs/applications/misc/zathura/core/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/misc/zathura/default.nix | 10 | ||||
-rw-r--r-- | pkgs/applications/misc/zathura/pdf-mupdf/default.nix | 21 | ||||
-rw-r--r-- | pkgs/applications/misc/zathura/pdf-poppler/default.nix | 10 | ||||
-rw-r--r-- | pkgs/applications/misc/zathura/ps/default.nix | 10 |
5 files changed, 29 insertions, 26 deletions
diff --git a/pkgs/applications/misc/zathura/core/default.nix b/pkgs/applications/misc/zathura/core/default.nix index 5f9b3850ad7d4..cab6423b77e5e 100644 --- a/pkgs/applications/misc/zathura/core/default.nix +++ b/pkgs/applications/misc/zathura/core/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, pkgconfig, gtk, girara, ncurses, gettext, docutils, file, makeWrapper, zathura_icon, sqlite }: stdenv.mkDerivation rec { - version = "0.3.2"; + version = "0.3.3"; name = "zathura-core-${version}"; src = fetchurl { url = "http://pwmt.org/projects/zathura/download/zathura-${version}.tar.gz"; - sha256 = "1qk5s7cyqp4l673yhma5igk9g24p5jyqyy81fdk7q7xjqlym19px"; + sha256 = "1rywx09qn6ap5hb1z31wxby4lzdrqdbldm51pjk1ifflr37xwirk"; }; buildInputs = [ pkgconfig file gtk girara gettext makeWrapper sqlite ]; diff --git a/pkgs/applications/misc/zathura/default.nix b/pkgs/applications/misc/zathura/default.nix index 6f1b5f400dd13..8b37e22d117a0 100644 --- a/pkgs/applications/misc/zathura/default.nix +++ b/pkgs/applications/misc/zathura/default.nix @@ -1,4 +1,4 @@ -{ callPackage, pkgs, fetchurl, stdenv, useMupdf }: +{ callPackage, lib, pkgs, fetchurl, stdenv, useMupdf }: rec { inherit stdenv; @@ -40,7 +40,7 @@ rec { preferLocalBuild = true; - meta = { + meta = with lib; { homepage = http://pwmt.org/projects/zathura/; description = "A highly customizable and functional PDF viewer"; longDescription = '' @@ -49,9 +49,9 @@ rec { is an application that provides a minimalistic and space saving interface as well as an easy usage that mainly focuses on keyboard interaction. ''; - license = stdenv.lib.licenses.zlib; - platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.smironov ]; + license = licenses.zlib; + platforms = platforms.linux; + maintainers = with maintainers;[ garbas smironov ]; }; }; } diff --git a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix index a6f12a64cf00e..48b177120fb61 100644 --- a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix +++ b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix @@ -1,29 +1,32 @@ -{ stdenv, fetchurl, pkgconfig, zathura_core, gtk, girara, mupdf, openssl, openjpeg, libjpeg, jbig2dec }: +{ stdenv, lib, fetchgit, pkgconfig, zathura_core, gtk, girara, mupdf, openssl, openjpeg, libjpeg, jbig2dec }: stdenv.mkDerivation rec { version = "0.2.7"; name = "zathura-pdf-mupdf-${version}"; - src = fetchurl { - url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz"; - sha256 = "0gr5kkk75hn7sz9kmzynhhcdd9xb9sz5gdb8p1iz9g0fjhskyd5i"; + src = fetchgit { + url = "https://git.pwmt.org/zathura-pdf-mupdf.git"; + rev = "99bff723291f5aa2558e5c8b475f496025105f4a"; + sha256 = "14mfp116a8dmazss3dcipvjs6dclazp36vsbcc53lr8lal5ccfnf"; }; buildInputs = [ pkgconfig zathura_core gtk girara openssl mupdf openjpeg libjpeg jbig2dec ]; makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib"; - preConfigure = "patch -p1 < ${./config.patch}"; + patches = [ + ./config.patch + ]; - meta = { + meta = with lib; { homepage = http://pwmt.org/projects/zathura/; description = "A zathura PDF plugin (mupdf)"; longDescription = '' The zathura-pdf-mupdf plugin adds PDF support to zathura by using the mupdf rendering library. ''; - license = stdenv.lib.licenses.zlib; - platforms = stdenv.lib.platforms.linux; -# maintainers = [ ]; + license = licenses.zlib; + platforms = platforms.linux; + maintainers = with maintainers; [ cstrahan ]; }; } diff --git a/pkgs/applications/misc/zathura/pdf-poppler/default.nix b/pkgs/applications/misc/zathura/pdf-poppler/default.nix index 6625bf4719420..caaab9ec3c779 100644 --- a/pkgs/applications/misc/zathura/pdf-poppler/default.nix +++ b/pkgs/applications/misc/zathura/pdf-poppler/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, zathura_core, girara, poppler }: +{ stdenv, lib, fetchurl, pkgconfig, zathura_core, girara, poppler }: stdenv.mkDerivation rec { version = "0.2.5"; @@ -13,15 +13,15 @@ stdenv.mkDerivation rec { makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib"; - meta = { + meta = with lib; { homepage = http://pwmt.org/projects/zathura/; description = "A zathura PDF plugin (poppler)"; longDescription = '' The zathura-pdf-poppler plugin adds PDF support to zathura by using the poppler rendering library. ''; - license = stdenv.lib.licenses.zlib; - platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.garbas ]; + license = licenses.zlib; + platforms = platforms.linux; + maintainers = with maintainers; [ cstrahan garbas ]; }; } diff --git a/pkgs/applications/misc/zathura/ps/default.nix b/pkgs/applications/misc/zathura/ps/default.nix index eef0200160152..31ffbf628dd8b 100644 --- a/pkgs/applications/misc/zathura/ps/default.nix +++ b/pkgs/applications/misc/zathura/ps/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }: +{ stdenv, lib, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }: stdenv.mkDerivation rec { name = "zathura-ps-0.2.2"; @@ -14,16 +14,16 @@ stdenv.mkDerivation rec { makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib"; - meta = { + meta = with lib; { homepage = http://pwmt.org/projects/zathura/; description = "A zathura PS plugin"; longDescription = '' The zathura-ps plugin adds PS support to zathura by using the libspectre library. ''; - license = stdenv.lib.licenses.zlib; - platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.garbas ]; + license = licenses.zlib; + platforms = platforms.linux; + maintainers = with maintainers; [ cstrahan garbas ]; }; } |