mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
b232557c45
https://pwmt.org/projects/zathura/changelog/0.5.2/index.html Zathura plugins are updated to the latest versions as well.
30 lines
873 B
Nix
30 lines
873 B
Nix
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, zathura_core, girara, libspectre, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zathura-ps";
|
|
version = "0.2.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
|
sha256 = "0ilf63wxn1yzis9m3qs8mxbk316yxdzwxrrv86wpiygm9hhgk5sq";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gettext ];
|
|
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 ];
|
|
};
|
|
}
|
|
|