3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/fig2dev/default.nix
Markus Kowalewski 6d95b55d3c
xfig: 3.2.5b -> 3.2.7a
init fig2dev as separate package (3.2.7a).
fig2dev was included in xfig in the previous version.
2018-08-20 00:43:11 +02:00

26 lines
557 B
Nix

{ stdenv, fetchurl, ghostscript, libpng } :
let
version = "3.2.7a";
in stdenv.mkDerivation {
name = "fig2dev-${version}";
src = fetchurl {
url = "mirror://sourceforge/mcj/fig2dev-${version}.tar.xz";
sha256 = "0a7vkfl38fvkhg3na5gr9c4fskas9wbs84y9djg85nzwbshik8mx";
};
buildInputs = [ libpng ];
GSEXE="${ghostscript}/bin/gs";
meta = with stdenv.lib; {
description = "Tool to convert Xfig files to other formats";
homepage = http://mcj.sourceforge.net/;
license = licenses.xfig;
platforms = platforms.linux;
};
}