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