2018-03-27 21:58:20 +02:00
|
|
|
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core, girara, libspectre, gettext }:
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-27 21:58:20 +02:00
|
|
|
name = "zathura-ps-0.2.6";
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-27 21:58:20 +02:00
|
|
|
url = "https://pwmt.org/projects/zathura/plugins/download/${name}.tar.xz";
|
|
|
|
sha256 = "0wygq89nyjrjnsq7vbpidqdsirjm6iq4w2rijzwpk2f83ys8bc3y";
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
|
2018-03-27 21:58:20 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
|
|
|
buildInputs = [ libspectre zathura_core girara ];
|
2012-05-14 23:43:46 +02:00
|
|
|
|
2018-03-27 21:58:20 +02:00
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
2012-05-14 23:43:46 +02:00
|
|
|
|
2015-05-06 16:34:12 +02:00
|
|
|
meta = with lib; {
|
2018-03-27 21:58:20 +02:00
|
|
|
homepage = https://pwmt.org/projects/zathura-ps/;
|
2012-05-14 23:43:46 +02:00
|
|
|
description = "A zathura PS plugin";
|
|
|
|
longDescription = ''
|
2012-08-16 16:33:25 +02:00
|
|
|
The zathura-ps plugin adds PS support to zathura by using the
|
|
|
|
libspectre library.
|
|
|
|
'';
|
2015-05-06 16:34:12 +02:00
|
|
|
license = licenses.zlib;
|
2018-02-14 20:52:15 +01:00
|
|
|
platforms = platforms.unix;
|
2019-07-03 11:27:39 +02:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|