nixpkgs/pkgs/applications/graphics/fig2dev/default.nix

27 lines
566 B
Nix
Raw Normal View History

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