depot/third_party/nixpkgs/pkgs/applications/misc/zathura/ps/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

53 lines
1,001 B
Nix

{
stdenv,
lib,
fetchurl,
meson,
ninja,
pkg-config,
zathura_core,
girara,
libspectre,
gettext,
desktop-file-utils,
appstream-glib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "zathura-ps";
version = "0.2.8";
src = fetchurl {
url = "https://pwmt.org/projects/zathura-ps/download/zathura-ps-${finalAttrs.version}.tar.xz";
hash = "sha256-B8pZT3J3+YdtADgEhBg0PqKWQCjpPJD5Vp7/NqiTLko=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
desktop-file-utils
appstream-glib
];
buildInputs = [
libspectre
zathura_core
girara
];
env.PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
meta = {
homepage = "https://pwmt.org/projects/zathura-ps/";
description = "Zathura PS plugin";
longDescription = ''
The zathura-ps plugin adds PS support to zathura by using the
libspectre library.
'';
license = lib.licenses.zlib;
platforms = lib.platforms.unix;
maintainers = [ ];
};
})