Merge pull request #59963 from yrashk/pforth

pforth: init at 28
This commit is contained in:
Mario Rodas 2019-04-26 18:33:54 -05:00 committed by GitHub
commit 3f46165af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "28";
pname = "pforth";
src = fetchFromGitHub {
owner = "philburk";
repo = "pforth";
rev = "9190005e32c6151b76ac707b30eeb4d5d9dd1d36";
sha256 = "0k3pmcgybsnwrxy75piyb2420r8d4ij190606js32j99062glr3x";
};
makeFlags = [ "SRCDIR=." ];
makefile = "build/unix/Makefile";
installPhase = ''
install -Dm755 pforth_standalone $out/bin/pforth
'';
meta = {
description = "Portable ANSI style Forth written in ANSI C";
homepage = http://www.softsynth.com/pforth/;
license = stdenv.lib.licenses.publicDomain;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ yrashk ];
};
}

@ -7746,6 +7746,8 @@ in
inherit (ocaml-ng.ocamlPackages_4_05) ocaml;
};
pforth = callPackage ../development/compilers/pforth {};
picat = callPackage ../development/compilers/picat {
stdenv = overrideCC stdenv gcc49;
};