2015-05-06 07:34:12 -07:00
|
|
|
{ stdenv, lib, fetchurl, pkgconfig, gtk, zathura_core, girara, libspectre, gettext }:
|
2012-05-14 14:43:46 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-30 17:05:11 -08:00
|
|
|
name = "zathura-ps-0.2.5";
|
2012-05-14 14:43:46 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
2017-12-30 17:05:11 -08:00
|
|
|
sha256 = "1x4knqja8pw2a5cb3y2209nr3iddj1z8nwasy48v5nprj61fdxqj";
|
2012-05-14 14:43:46 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libspectre gettext zathura_core gtk girara ];
|
2012-05-14 14:43:46 -07:00
|
|
|
|
|
|
|
patches = [ ./gtkflags.patch ];
|
|
|
|
|
2016-08-25 17:42:08 -07:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
|
2012-05-14 14:43:46 -07:00
|
|
|
|
2015-05-06 07:34:12 -07:00
|
|
|
meta = with lib; {
|
2012-08-16 07:33:25 -07:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
2012-05-14 14:43:46 -07:00
|
|
|
description = "A zathura PS plugin";
|
|
|
|
longDescription = ''
|
2012-08-16 07:33:25 -07:00
|
|
|
The zathura-ps plugin adds PS support to zathura by using the
|
|
|
|
libspectre library.
|
|
|
|
'';
|
2015-05-06 07:34:12 -07:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan garbas ];
|
2012-05-14 14:43:46 -07:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|