aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/shells/ksh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/shells/ksh/default.nix')
-rw-r--r--nixpkgs/pkgs/shells/ksh/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/shells/ksh/default.nix b/nixpkgs/pkgs/shells/ksh/default.nix
new file mode 100644
index 00000000000..80059e448c9
--- /dev/null
+++ b/nixpkgs/pkgs/shells/ksh/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, meson, ninja, fetchFromGitHub, which, python, libiconv }:
+
+stdenv.mkDerivation {
+ pname = "ksh";
+ version = "93v";
+
+ src = fetchFromGitHub {
+ owner = "att";
+ repo = "ast";
+ rev = "b8d88244ae87857e7bbd6da230ffbbc51165df70";
+ sha256 = "12kf14n8vz36hnsy3wp6lnyv1841p7hcq25y1d78w532dil69lx9";
+ };
+
+ nativeBuildInputs = [ meson ninja which python ];
+
+ buildInputs = [ libiconv ];
+
+ 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";
+ };
+}