2015-05-06 15:34:12 +01:00
|
|
|
{ stdenv, lib, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }:
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-01 19:50:23 +00:00
|
|
|
name = "zathura-ps-0.2.3";
|
2012-05-14 22:43:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2016-03-01 19:50:23 +00:00
|
|
|
sha256 = "18wsfy8pqficdgj8wy2aws7j4fy8z78157rhqk17mj5f295zgvm9";
|
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";
|
|
|
|
|
2015-05-06 15:34:12 +01:00
|
|
|
meta = with lib; {
|
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.
|
|
|
|
'';
|
2015-05-06 15:34:12 +01:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan garbas ];
|
2012-05-14 22:43:46 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|