1 { lib, stdenv, fetchurl, m4 }:
10 url = "https://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz";
11 sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig";
16 configureFlags = lib.optional stdenv.isDarwin [ "--build=x86_64-apple-darwin" ];
19 mkdir -p $out/share/emacs/site-lisp
20 cp gforth.el $out/share/emacs/site-lisp/
24 description = "The Forth implementation of the GNU project";
25 homepage = "https://www.gnu.org/software/gforth/";
26 license = lib.licenses.gpl3;
27 platforms = lib.platforms.all;