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