2017-03-16 05:40:01 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "3.08";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "epstool";
|
2017-03-16 05:40:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.de.debian.org/debian/pool/main/e/epstool/epstool_${version}+repack.orig.tar.gz";
|
|
|
|
sha256 = "1pfgqbipwk36clhma2k365jkpvyy75ahswn8jczzys382jalpwgk";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make EPSTOOL_ROOT=$out install
|
|
|
|
'';
|
|
|
|
|
|
|
|
patches = [ ./gcc43.patch ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A utility to create or extract preview images in EPS files, fix bounding boxes and convert to bitmaps";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm";
|
2017-03-16 05:40:01 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.asppsa ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|