at v206 685 B view raw
1{ stdenv, fetchurl, m4 }: 2 3let 4 version = "0.7.3"; 5in 6stdenv.mkDerivation { 7 name = "gforth-${version}"; 8 src = fetchurl { 9 url = "http://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz"; 10 sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig"; 11 }; 12 13 buildInputs = [ m4 ]; 14 15 postInstall = '' 16 mkdir -p $out/share/emacs/site-lisp 17 cp gforth.el $out/share/emacs/site-lisp/ 18 ''; 19 20 meta = { 21 description = "The Forth implementation of the GNU project"; 22 homepage = https://www.gnu.org/software/gforth/; 23 license = stdenv.lib.licenses.gpl3; 24 platforms = stdenv.lib.platforms.all; 25 maintainers = with stdenv.lib.maintainers; [ the-kenny ]; 26 }; 27}