summary refs log tree commit diff
path: root/pkgs/development/interpreters/yabasic/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/yabasic/default.nix')
-rw-r--r--pkgs/development/interpreters/yabasic/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/yabasic/default.nix b/pkgs/development/interpreters/yabasic/default.nix
new file mode 100644
index 00000000000..414171082e3
--- /dev/null
+++ b/pkgs/development/interpreters/yabasic/default.nix
@@ -0,0 +1,43 @@
+{ lib
+, stdenv
+, fetchurl
+, libSM
+, libX11
+, libXt
+, libffi
+, ncurses
+}:
+
+stdenv.mkDerivation rec {
+  pname = "yabasic";
+  version = "2.89.1";
+
+  src = fetchurl {
+    url = "http://www.yabasic.de/download/${pname}-${version}.tar.gz";
+    hash = "sha256-k8QmQCpszLyotEiWDrG878RM2wqSq7I4W9j6Z2Ub3Yg=";
+  };
+
+  buildInputs = [
+    libSM
+    libX11
+    libXt
+    libffi
+    ncurses
+  ];
+
+  meta = with lib; {
+    homepage = "http://www.yabasic.de/";
+    description = "Yet another BASIC";
+    longDescription = ''
+      Yabasic is a traditional basic-interpreter. It comes with goto and various
+      loops and allows to define subroutines and libraries. It does simple
+      graphics and printing. Yabasic can call out to libraries written in C and
+      allows to create standalone programs. Yabasic runs under Unix and Windows
+      and has a comprehensive documentation; it is small, simple, open-source
+      and free.
+   '';
+    license = licenses.mit;
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = platforms.all;
+  };
+}