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