2012-05-14 22:43:46 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-11-25 17:55:54 +00:00
|
|
|
name = "zathura-ps-0.2.0";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2012-11-25 17:55:54 +00:00
|
|
|
sha256 = "717eda01213b162421b6b52f29d6b981edc302fddf351ccb2c093b6842751414";
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|