git.iko.soy/typeable/nixpkgs
on master help sign in
pforth: init at 28
commit1ae5e2775187ffdd003f4a40bb0c3e37281efea7 authorYurii Rashkovskii <yrashk@gmail.com> dateWed 24 Apr 2019, 09:42 (8 years ago) parent66a1dab
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
@@ -7716,6 +7716,8 @@ in
77167716 inherit (ocaml-ng.ocamlPackages_4_05) ocaml;
77177717 };
77187718
7719+ pforth = callPackage ../development/compilers/pforth {};
7720+
77197721 picat = callPackage ../development/compilers/picat {
77207722 stdenv = overrideCC stdenv gcc49;
77217723 };