nixpkgs/pkgs/applications/misc/zathura/pdf-poppler/default.nix

28 lines
840 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, pkgconfig, zathura_core, girara, poppler }:
stdenv.mkDerivation rec {
2016-03-01 20:52:16 +01:00
version = "0.2.6";
name = "zathura-pdf-poppler-${version}";
src = fetchurl {
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
2016-03-01 20:52:16 +01:00
sha256 = "1maqiv7yv8d8hymlffa688c5z71v85kbzmx2j88i8z349xx0rsyi";
};
2014-05-17 14:16:50 +02:00
buildInputs = [ pkgconfig poppler zathura_core girara ];
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
meta = with lib; {
homepage = http://pwmt.org/projects/zathura/;
2014-05-17 14:16:50 +02:00
description = "A zathura PDF plugin (poppler)";
longDescription = ''
The zathura-pdf-poppler plugin adds PDF support to zathura by
2014-05-17 14:16:50 +02:00
using the poppler rendering library.
'';
license = licenses.zlib;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan garbas ];
};
}