3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/shells/oksh/default.nix

26 lines
603 B
Nix
Raw Normal View History

2020-12-01 17:51:29 +00:00
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "oksh";
2021-11-03 17:29:22 +00:00
version = "7.0";
2020-12-01 17:51:29 +00:00
src = fetchFromGitHub {
owner = "ibara";
repo = pname;
rev = "${pname}-${version}";
2021-11-03 17:29:22 +00:00
sha256 = "sha256-076nD0aPps6n5qkR3LQJ6Kn2g3mkov+/M0qSvxNLZ6o=";
2020-12-01 17:51:29 +00:00
};
meta = with lib; {
2020-12-01 17:51:29 +00: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;
};
passthru = {
shellPath = "/bin/oksh";
};
2020-12-01 17:51:29 +00:00
}