summary refs log tree commit diff
path: root/pkgs/applications/misc/zathura/default.nix
diff options
context:
space:
mode:
authorAlexander Tsamutali <astsmtl@yandex.ru>2010-05-29 21:15:13 +0000
committerAlexander Tsamutali <astsmtl@yandex.ru>2010-05-29 21:15:13 +0000
commit2cc92567a2c8197f20d8a76f1968d8f50feb3e8c (patch)
tree7fb7dead386d641dc5ccde7fa42f5cc1f9746a80 /pkgs/applications/misc/zathura/default.nix
parent5a59b1b55df4590f4ea9c18ff48e7224c00a9963 (diff)
downloadnixpkgs-2cc92567a2c8197f20d8a76f1968d8f50feb3e8c.tar
nixpkgs-2cc92567a2c8197f20d8a76f1968d8f50feb3e8c.tar.gz
nixpkgs-2cc92567a2c8197f20d8a76f1968d8f50feb3e8c.tar.bz2
nixpkgs-2cc92567a2c8197f20d8a76f1968d8f50feb3e8c.tar.lz
nixpkgs-2cc92567a2c8197f20d8a76f1968d8f50feb3e8c.tar.xz
nixpkgs-2cc92567a2c8197f20d8a76f1968d8f50feb3e8c.tar.zst
nixpkgs-2cc92567a2c8197f20d8a76f1968d8f50feb3e8c.zip
applications/misc/zathura: New nixbuild.
svn path=/nixpkgs/trunk/; revision=22057
Diffstat (limited to 'pkgs/applications/misc/zathura/default.nix')
-rw-r--r--pkgs/applications/misc/zathura/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/misc/zathura/default.nix b/pkgs/applications/misc/zathura/default.nix
new file mode 100644
index 00000000000..6c6b469f18d
--- /dev/null
+++ b/pkgs/applications/misc/zathura/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl, pkgconfig, gtk, poppler }:
+stdenv.mkDerivation rec {
+  name = "zathura-0.0.5";
+  src = fetchurl {
+    #url = "https://pwmt.org/zathura/download/{name}.tar.gz"
+    # Site's SSL cert is invalid, and I dunno how to pass --insecure to curl.
+    # Thanks Mark Weber for mirroring this tarball.
+    url = "http://mawercer.de/~nix/${name}.tar.gz";
+    sha256 = "e4dfbcceafc7bcb5c4e1ff349822c610db6378906ab65aabba8be246d7ee9b52";
+  };
+  buildInputs = [ pkgconfig gtk poppler ];
+  patchPhase = ''
+    substituteInPlace config.mk --replace 'PREFIX = /usr' "PREFIX = $out"
+  '';
+  meta = {
+    homepage = https://pwmt.org/zathura/;
+    description = "A highly customizable and functional PDF viewer";
+    longDescription = ''
+      zathura is a highly customizable and functional PDF viewer based on the
+      poppler rendering library and the gtk+ toolkit. The idea behind zathura
+      is an application that provides a minimalistic and space saving interface
+      as well as an easy usage that mainly focuses on keyboard interaction.
+    '';
+    license = "free";
+    platforms = with stdenv.lib.platforms; linux;
+  };
+}