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