2012-05-14 23:43:46 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-11-23 15:19:54 +01:00
|
|
|
name = "zathura-ps-0.2.2";
|
2012-05-14 23:43:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2013-11-23 15:19:54 +01:00
|
|
|
sha256 = "1a6ps5v1wk18qvslbkjln6w8wfzzr6fi13ls96vbdc03vdhn4m76";
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig libspectre gettext zathura_core gtk girara ];
|
|
|
|
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
|
|
|
|
meta = {
|
2012-08-16 16:33:25 +02:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
2012-05-14 23:43:46 +02:00
|
|
|
description = "A zathura PS plugin";
|
|
|
|
longDescription = ''
|
2012-08-16 16:33:25 +02:00
|
|
|
The zathura-ps plugin adds PS support to zathura by using the
|
|
|
|
libspectre library.
|
|
|
|
'';
|
2013-02-23 11:39:32 +01:00
|
|
|
license = stdenv.lib.licenses.zlib;
|
2012-05-14 23:43:46 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-23 11:39:32 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2012-05-14 23:43:46 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|