2018-08-18 22:00:04 +00:00
|
|
|
{ stdenv, fetchurl, ghostscript, libpng } :
|
|
|
|
|
|
|
|
let
|
2019-11-25 19:56:03 +00:00
|
|
|
version = "3.2.7b";
|
2018-08-18 22:00:04 +00:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "fig2dev";
|
|
|
|
inherit version;
|
2018-08-18 22:00:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mcj/fig2dev-${version}.tar.xz";
|
2019-11-25 19:56:03 +00:00
|
|
|
sha256 = "1ck8gnqgg13xkxq4hrdy706i4xdgrlckx6bi6wxm1g514121pp27";
|
2018-08-18 22:00:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpng ];
|
|
|
|
|
|
|
|
GSEXE="${ghostscript}/bin/gs";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tool to convert Xfig files to other formats";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://mcj.sourceforge.net/";
|
2018-08-18 22:00:04 +00:00
|
|
|
license = licenses.xfig;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|