15 stdenv.mkDerivation rec {
20 url = "mirror://sourceforge/mcj/fig2dev-${version}.tar.xz";
21 hash = "sha256-FeJGyNE8xy3iXggxQDitUM59Le+pzxr8Fy/X9ZMgkLE=";
24 nativeBuildInputs = [ makeWrapper ];
25 buildInputs = [ libpng ];
27 GSEXE = "${ghostscript}/bin/gs";
29 configureFlags = [ "--enable-transfig" ];
32 wrapProgram $out/bin/fig2ps2tex \
41 wrapProgram $out/bin/pic2tpic \
42 --set PATH ${lib.makeBinPath [ gnused ]}
46 description = "Tool to convert Xfig files to other formats";
47 homepage = "https://mcj.sourceforge.net/";
48 license = licenses.xfig;
49 platforms = platforms.unix;
50 maintainers = with maintainers; [ lesuisse ];