about summary refs log tree commit diff
path: root/pkgs/development/compilers/pforth
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-04-26 18:33:54 -0500
committerGitHub <noreply@github.com>2019-04-26 18:33:54 -0500
commit3f46165af3f74df4eed27418377733cf237a33a0 (patch)
treecfaffb29924aab9e7d82bd2d069b99cc379eb033 /pkgs/development/compilers/pforth
parentd872d32ba09ac760231568b0d39661de7e94c1a9 (diff)
parent1ae5e2775187ffdd003f4a40bb0c3e37281efea7 (diff)
downloadnixlib-3f46165af3f74df4eed27418377733cf237a33a0.tar
nixlib-3f46165af3f74df4eed27418377733cf237a33a0.tar.gz
nixlib-3f46165af3f74df4eed27418377733cf237a33a0.tar.bz2
nixlib-3f46165af3f74df4eed27418377733cf237a33a0.tar.lz
nixlib-3f46165af3f74df4eed27418377733cf237a33a0.tar.xz
nixlib-3f46165af3f74df4eed27418377733cf237a33a0.tar.zst
nixlib-3f46165af3f74df4eed27418377733cf237a33a0.zip
Merge pull request #59963 from yrashk/pforth
pforth: init at 28
Diffstat (limited to 'pkgs/development/compilers/pforth')
-rw-r--r--pkgs/development/compilers/pforth/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/compilers/pforth/default.nix b/pkgs/development/compilers/pforth/default.nix
new file mode 100644
index 000000000000..7885582ad125
--- /dev/null
+++ b/pkgs/development/compilers/pforth/default.nix
@@ -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 ];
+  };
+}