about summary refs log tree commit diff
path: root/pkgs/applications/misc/zathura/core
diff options
context:
space:
mode:
authorSergey Mironov <ierton@gmail.com>2012-05-15 01:43:46 +0400
committerSergey Mironov <ierton@gmail.com>2012-08-16 18:25:52 +0400
commitd339184bbf05fe6ee93369625dd2c9e5e69005e5 (patch)
tree772575c6b5183e2b8ec0c6c3e27e89892e8f8570 /pkgs/applications/misc/zathura/core
parent03228d60fe25ad7110b55eb2ab01231d57d06631 (diff)
downloadnixlib-d339184bbf05fe6ee93369625dd2c9e5e69005e5.tar
nixlib-d339184bbf05fe6ee93369625dd2c9e5e69005e5.tar.gz
nixlib-d339184bbf05fe6ee93369625dd2c9e5e69005e5.tar.bz2
nixlib-d339184bbf05fe6ee93369625dd2c9e5e69005e5.tar.lz
nixlib-d339184bbf05fe6ee93369625dd2c9e5e69005e5.tar.xz
nixlib-d339184bbf05fe6ee93369625dd2c9e5e69005e5.tar.zst
nixlib-d339184bbf05fe6ee93369625dd2c9e5e69005e5.zip
zathura: version 0.1.2 with plugins
Expression handles new modular structure of zathura and adds support for djvu,
pdf and ps plugins.
Diffstat (limited to 'pkgs/applications/misc/zathura/core')
-rw-r--r--pkgs/applications/misc/zathura/core/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/misc/zathura/core/default.nix b/pkgs/applications/misc/zathura/core/default.nix
new file mode 100644
index 000000000000..8b23fba5e270
--- /dev/null
+++ b/pkgs/applications/misc/zathura/core/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, pkgconfig, gtk, girara, gettext }:
+
+stdenv.mkDerivation rec {
+
+  version = "0.1.2";
+
+  name = "zathura-core-${version}";
+
+  src = fetchurl {
+    url = "http://pwmt.org/projects/zathura/download/zathura-${version}.tar.gz";
+    sha256 = "a496c25071e54f675b65ee5eab02fd002c04c2d7d5cf4aa8a1cb517cc13beaef";
+  };
+
+  buildInputs = [ pkgconfig gtk girara gettext ];
+
+  makeFlags = "PREFIX=$(out)";
+
+  meta = {
+    homepage = https://pwmt.org/zathura/;
+	description = "A core component for zathura PDF viewer";
+    license = "free";
+    platforms = stdenv.lib.platforms.linux;
+
+    # Set lower priority in order to provide user with a wrapper script called
+    # 'zathura' instead of real zathura executable. The wrapper will build
+    # plugin path argument before executing the original.
+    priority = 1;
+  };
+}