mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:36:27 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
29 lines
912 B
Nix
29 lines
912 B
Nix
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core, girara, poppler }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.2.9";
|
|
pname = "zathura-pdf-poppler";
|
|
|
|
src = fetchurl {
|
|
url = "https://git.pwmt.org/pwmt/zathura-pdf-poppler/-/archive/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "0c15rnwh42m3ybrhax01bl36w0iynaq8xg6l08riml3cyljypi9l";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig zathura_core ];
|
|
buildInputs = [ poppler girara ];
|
|
|
|
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
|
|
|
|
meta = with lib; {
|
|
homepage = https://pwmt.org/projects/zathura-pdf-poppler/;
|
|
description = "A zathura PDF plugin (poppler)";
|
|
longDescription = ''
|
|
The zathura-pdf-poppler plugin adds PDF support to zathura by
|
|
using the poppler rendering library.
|
|
'';
|
|
license = licenses.zlib;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
};
|
|
}
|