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