From b13edbaac5e1abac640404e41028bf1b9830ac29 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 2 Dec 2020 00:51:29 +0700 Subject: [PATCH] oksh: init at 6.8.1 --- pkgs/shells/oksh/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/shells/oksh/default.nix diff --git a/pkgs/shells/oksh/default.nix b/pkgs/shells/oksh/default.nix new file mode 100644 index 000000000000..7ec70e53bd28 --- /dev/null +++ b/pkgs/shells/oksh/default.nix @@ -0,0 +1,21 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "oksh"; + version = "6.8.1"; + + src = fetchFromGitHub { + owner = "ibara"; + repo = pname; + rev = "${pname}-${version}"; + sha256 = "0lny550qfanysc4pqs0mxxx8zyz6plv9ll8y05gz0xmq9vx5384r"; + }; + + meta = with stdenv.lib; { + description = "Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh)"; + homepage = "https://github.com/ibara/oksh"; + license = licenses.publicDomain; + maintainers = with maintainers; [ siraben ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 681b79afb1bf..f2b7a1ce8c64 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8634,6 +8634,8 @@ in oil = callPackage ../shells/oil { }; + oksh = callPackage ../shells/oksh { }; + pash = callPackage ../shells/pash { }; tcsh = callPackage ../shells/tcsh { };