Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1001 B
Nix
54 lines
1001 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 = [ ];
|
|
};
|
|
})
|