git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #59963 from yrashk/pforth

pforth: init at 28

commit3f46165af3f74df4eed27418377733cf237a33a0 authorMario Rodas <marsam@users.noreply.github.com> dateFri 26 Apr 2019, 18:33 (8 years ago) parentd872d321ae5e27
2 files changed+30
pkgs/development/compilers/pforth/default.nix+28 pkgs/top-level/all-packages.nix+2
pkgs/development/compilers/pforth/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ version = "28";
5+ pname = "pforth";
6+ src = fetchFromGitHub {
7+ owner = "philburk";
8+ repo = "pforth";
9+ rev = "9190005e32c6151b76ac707b30eeb4d5d9dd1d36";
10+ sha256 = "0k3pmcgybsnwrxy75piyb2420r8d4ij190606js32j99062glr3x";
11+ };
12+
13+ makeFlags = [ "SRCDIR=." ];
14+ makefile = "build/unix/Makefile";
15+
16+ installPhase = ''
17+ install -Dm755 pforth_standalone $out/bin/pforth
18+ '';
19+
20+
21+ meta = {
22+ description = "Portable ANSI style Forth written in ANSI C";
23+ homepage = http://www.softsynth.com/pforth/;
24+ license = stdenv.lib.licenses.publicDomain;
25+ platforms = stdenv.lib.platforms.unix;
26+ maintainers = with stdenv.lib.maintainers; [ yrashk ];
27+ };
28+}
pkgs/top-level/all-packages.nix+2
@@ -7746,6 +7746,8 @@ in
77467746 inherit (ocaml-ng.ocamlPackages_4_05) ocaml;
77477747 };
77487748
7749+ pforth = callPackage ../development/compilers/pforth {};
7750+
77497751 picat = callPackage ../development/compilers/picat {
77507752 stdenv = overrideCC stdenv gcc49;
77517753 };