2015-05-06 17:34:12 +03:00
|
|
|
{ stdenv, lib, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }:
|
2012-05-15 01:43:46 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-01 22:50:23 +03:00
|
|
|
name = "zathura-ps-0.2.3";
|
2012-05-15 01:43:46 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2016-03-01 22:50:23 +03:00
|
|
|
sha256 = "18wsfy8pqficdgj8wy2aws7j4fy8z78157rhqk17mj5f295zgvm9";
|
2012-05-15 01:43:46 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig libspectre gettext zathura_core gtk girara ];
|
|
|
|
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
|
|
|
|
|
2015-05-06 17:34:12 +03:00
|
|
|
meta = with lib; {
|
2012-08-16 18:33:25 +04:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
2012-05-15 01:43:46 +04:00
|
|
|
description = "A zathura PS plugin";
|
|
|
|
longDescription = ''
|
2012-08-16 18:33:25 +04:00
|
|
|
The zathura-ps plugin adds PS support to zathura by using the
|
|
|
|
libspectre library.
|
|
|
|
'';
|
2015-05-06 17:34:12 +03:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan garbas ];
|
2012-05-15 01:43:46 +04:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|