at 23.05-pre 642 B view raw
1{ lib, stdenv, fetchurl, m4 }: 2 3let 4 version = "0.7.3"; 5in 6stdenv.mkDerivation { 7 pname = "gforth-boot"; 8 inherit version; 9 src = fetchurl { 10 url = "https://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz"; 11 sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig"; 12 }; 13 14 buildInputs = [ m4 ]; 15 16 configureFlags = lib.optionals stdenv.isDarwin [ "--build=x86_64-apple-darwin" ]; 17 18 meta = { 19 description = "The Forth implementation of the GNU project (outdated version used to bootstrap)"; 20 homepage = "https://www.gnu.org/software/gforth/"; 21 license = lib.licenses.gpl3; 22 platforms = lib.platforms.all; 23 }; 24}