2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, zathura_core, girara, libspectre, gettext }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zathura-ps";
|
2022-12-02 08:20:57 +00:00
|
|
|
version = "0.2.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
2022-12-02 08:20:57 +00:00
|
|
|
sha256 = "0ilf63wxn1yzis9m3qs8mxbk316yxdzwxrrv86wpiygm9hhgk5sq";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gettext ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libspectre zathura_core girara ];
|
|
|
|
|
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://pwmt.org/projects/zathura-ps/";
|
|
|
|
description = "A zathura PS plugin";
|
|
|
|
longDescription = ''
|
|
|
|
The zathura-ps plugin adds PS support to zathura by using the
|
|
|
|
libspectre library.
|
|
|
|
'';
|
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|