summary refs log tree commit diff
path: root/pkgs/shells/ksh
diff options
context:
space:
mode:
authorArtur Kireev <kireev.artur@gmail.com>2019-01-06 20:37:53 +0500
committerJoachim F <joachifm@users.noreply.github.com>2019-01-06 15:37:53 +0000
commit5b201a8e98e50e25f284860d7e84ebc7b93a6d34 (patch)
treeba0770713fd0ad92f5d4dab2149f91d6159ee40f /pkgs/shells/ksh
parent9ee8cf517713135cfe395a56fd59d107fda0103b (diff)
ksh: init at 93v
Diffstat (limited to 'pkgs/shells/ksh')
-rw-r--r--pkgs/shells/ksh/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/shells/ksh/default.nix b/pkgs/shells/ksh/default.nix
new file mode 100644
index 0000000000000..05335a1eb68cb
--- /dev/null
+++ b/pkgs/shells/ksh/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, meson, ninja, fetchFromGitHub, which, python }:
+
+stdenv.mkDerivation rec {
+  name = "ksh-${version}";
+  version = "93v";
+
+  src = fetchFromGitHub {
+    owner  = "att";
+    repo   = "ast";
+    rev    = "b8d88244ae87857e7bbd6da230ffbbc51165df70";
+    sha256 = "12kf14n8vz36hnsy3wp6lnyv1841p7hcq25y1d78w532dil69lx9";
+  };
+
+  nativeBuildInputs = [ meson ninja which python ];
+
+  meta = with stdenv.lib; {
+    description = "KornShell Command And Programming Language";
+    longDescription = ''
+      The KornShell language was designed and developed by David G. Korn at
+      AT&T Bell Laboratories. It is an interactive command language that
+      provides access to the UNIX system and to many other systems, on the
+      many different computers and workstations on which it is implemented. 
+    '';
+    homepage = https://github.com/att/ast;
+    license = licenses.cpl10;
+    maintainers = with maintainers; [ ];
+    platforms = platforms.all;
+  };
+
+  passthru = {
+    shellPath = "/bin/ksh";
+  };
+}
+