forked from mirrors/nixpkgs
6aff4d5ee5
girara -> 0.1.9 zathura-core -> 0.2.5 zathura-djvu -> 0.2.3 zathura-pdf-poppler -> 0.2.4 zathura-ps -> 0.2.2
30 lines
849 B
Nix
30 lines
849 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zathura-ps-0.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
|
sha256 = "1a6ps5v1wk18qvslbkjln6w8wfzzr6fi13ls96vbdc03vdhn4m76";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig libspectre gettext zathura_core gtk girara ];
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
meta = {
|
|
homepage = http://pwmt.org/projects/zathura/;
|
|
description = "A zathura PS plugin";
|
|
longDescription = ''
|
|
The zathura-ps plugin adds PS support to zathura by using the
|
|
libspectre library.
|
|
'';
|
|
license = stdenv.lib.licenses.zlib;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
};
|
|
}
|
|
|