diff options
author | Artur Kireev <kireev.artur@gmail.com> | 2019-01-06 20:37:53 +0500 |
---|---|---|
committer | Joachim F <joachifm@users.noreply.github.com> | 2019-01-06 15:37:53 +0000 |
commit | 5b201a8e98e50e25f284860d7e84ebc7b93a6d34 (patch) | |
tree | ba0770713fd0ad92f5d4dab2149f91d6159ee40f | |
parent | 9ee8cf517713135cfe395a56fd59d107fda0103b (diff) | |
download | nixpkgs-5b201a8e98e50e25f284860d7e84ebc7b93a6d34.tar nixpkgs-5b201a8e98e50e25f284860d7e84ebc7b93a6d34.tar.gz nixpkgs-5b201a8e98e50e25f284860d7e84ebc7b93a6d34.tar.bz2 nixpkgs-5b201a8e98e50e25f284860d7e84ebc7b93a6d34.tar.lz nixpkgs-5b201a8e98e50e25f284860d7e84ebc7b93a6d34.tar.xz nixpkgs-5b201a8e98e50e25f284860d7e84ebc7b93a6d34.tar.zst nixpkgs-5b201a8e98e50e25f284860d7e84ebc7b93a6d34.zip |
ksh: init at 93v
-rw-r--r-- | pkgs/shells/ksh/default.nix | 34 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 37 insertions, 1 deletions
diff --git a/pkgs/shells/ksh/default.nix b/pkgs/shells/ksh/default.nix new file mode 100644 index 00000000000..05335a1eb68 --- /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"; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3064cb38b08..adf85fa0a6e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6521,7 +6521,9 @@ in fish-foreign-env = callPackage ../shells/fish/fish-foreign-env { }; ion = callPackage ../shells/ion { }; - + + ksh = callPackage ../shells/ksh { }; + mksh = callPackage ../shells/mksh { }; oh = callPackage ../shells/oh { }; |