nixpkgs/pkgs/applications/misc/zathura/ps/default.nix

29 lines
848 B
Nix
Raw Normal View History

2018-03-27 21:58:20 +02:00
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core, girara, libspectre, gettext }:
stdenv.mkDerivation rec {
2018-03-27 21:58:20 +02:00
name = "zathura-ps-0.2.6";
src = fetchurl {
2018-03-27 21:58:20 +02:00
url = "https://pwmt.org/projects/zathura/plugins/download/${name}.tar.xz";
sha256 = "0wygq89nyjrjnsq7vbpidqdsirjm6iq4w2rijzwpk2f83ys8bc3y";
};
2018-03-27 21:58:20 +02:00
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
buildInputs = [ libspectre zathura_core girara ];
2018-03-27 21:58:20 +02:00
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
meta = with lib; {
2018-03-27 21:58:20 +02:00
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;
2018-02-14 20:52:15 +01:00
platforms = platforms.unix;
maintainers = with maintainers; [ cstrahan ];
};
}