2020-12-01 18:51:29 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "oksh";
|
2021-06-10 17:28:33 +02:00
|
|
|
version = "6.9";
|
2020-12-01 18:51:29 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ibara";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
2021-06-10 17:28:33 +02:00
|
|
|
sha256 = "sha256-b5b6xYqlmjWAT8kTq6YraVLawV/k3ugHZUjXD1LJyhs=";
|
2020-12-01 18:51:29 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-12-01 18:51:29 +01:00
|
|
|
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;
|
|
|
|
};
|
2021-01-26 15:21:02 +01:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/oksh";
|
|
|
|
};
|
2020-12-01 18:51:29 +01:00
|
|
|
}
|