nixpkgs/pkgs/development/compilers/gforth/boot-forth.nix
Herwig Hochleitner 43cab04688 gforth: 0.7.3 -> 0.7.9_20211111
This updates to forthy42's version, which the community seems to have
transitioned to.
2021-11-16 12:53:17 +01:00

24 lines
641 B
Nix

{ lib, stdenv, fetchurl, m4 }:
let
version = "0.7.3";
in
stdenv.mkDerivation {
pname = "gforth-boot";
inherit version;
src = fetchurl {
url = "https://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz";
sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig";
};
buildInputs = [ m4 ];
configureFlags = lib.optional stdenv.isDarwin [ "--build=x86_64-apple-darwin" ];
meta = {
description = "The Forth implementation of the GNU project (outdated version used to bootstrap)";
homepage = "https://www.gnu.org/software/gforth/";
license = lib.licenses.gpl3;
platforms = lib.platforms.all;
};
}