summary refs log tree commit diff
path: root/pkgs/development/interpreters/gnu-apl
diff options
context:
space:
mode:
authorKovacsics Robert (NixOS-SSD2) <kovirobi@gmail.com>2015-03-16 21:57:51 +0000
committerKovacsics Robert (NixOS-SSD2) <kovirobi@gmail.com>2015-03-16 21:57:51 +0000
commit8f5f0472868c656b697d704c68033370b1d92c71 (patch)
tree02c62efc36e43adad55e26a3f6b3dd81e52ada68 /pkgs/development/interpreters/gnu-apl
parent5078d49248e29bacd442fac889123c2c0a68e13e (diff)
downloadnixpkgs-8f5f0472868c656b697d704c68033370b1d92c71.tar
nixpkgs-8f5f0472868c656b697d704c68033370b1d92c71.tar.gz
nixpkgs-8f5f0472868c656b697d704c68033370b1d92c71.tar.bz2
nixpkgs-8f5f0472868c656b697d704c68033370b1d92c71.tar.lz
nixpkgs-8f5f0472868c656b697d704c68033370b1d92c71.tar.xz
nixpkgs-8f5f0472868c656b697d704c68033370b1d92c71.tar.zst
nixpkgs-8f5f0472868c656b697d704c68033370b1d92c71.zip
Added GNU APL, a free APL interpreter.
It is an almost complete implementation of ISO 13751: Programming
Language APL, Extended.
Diffstat (limited to 'pkgs/development/interpreters/gnu-apl')
-rw-r--r--pkgs/development/interpreters/gnu-apl/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix
new file mode 100644
index 00000000000..8600d17f366
--- /dev/null
+++ b/pkgs/development/interpreters/gnu-apl/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, liblapack, readline, gettext, ncurses }:
+
+stdenv.mkDerivation rec {
+  name = "gnu-apl-${version}";
+  version = "1.4";
+
+  src = fetchurl {
+    url = "mirror://gnu/apl/apl-${version}.tar.gz";
+    sha256 = "0fl9l4jb5wpnb54kqkphavi657z1cv15h9qj2rqy2shf33dk3nk9";
+  };
+
+  buildInputs = [ liblapack readline gettext ncurses ];
+
+  postInstall = ''
+    cp -r support-files/ $out/share/doc/
+    find $out/share/doc/support-files -name 'Makefile*' -delete
+  '';
+
+  meta = {
+    description = "Free interpreter for the APL programming language.";
+    homepage    = http://www.gnu.org/software/apl/;
+    license     = stdenv.lib.licenses.gpl3Plus;
+    maintainers = with stdenv.lib.maintainers; [ kovirobi ];
+    platforms   = stdenv.lib.platforms.linux;
+
+    longDescription = ''
+      GNU APL is a free interpreter for the programming language APL, with an
+      (almost) complete implementation of ISO standard 13751 aka.  Programming
+      Language APL, Extended.  GNU APL was written and is being maintained by
+      Jürgen Sauermann.
+    '';
+  };
+}