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

30 lines
873 B
Nix
Raw Normal View History

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