Merge pull request #137319 from CameronNemo/loksh

authored by Sandro and committed by GitHub 61d2ef55 95fa2046

+58
+6
maintainers/maintainer-list.nix
··· 1693 1693 githubId = 7435854; 1694 1694 name = "Victor Calvert"; 1695 1695 }; 1696 + cameronnemo = { 1697 + email = "cnemo@tutanota.com"; 1698 + github = "cameronnemo"; 1699 + githubId = 3212452; 1700 + name = "Cameron Nemo"; 1701 + }; 1696 1702 campadrenalin = { 1697 1703 email = "campadrenalin@gmail.com"; 1698 1704 github = "campadrenalin";
+50
pkgs/shells/loksh/default.nix
··· 1 + { lib 2 + , stdenv 3 + , meson 4 + , ninja 5 + , pkg-config 6 + , ncurses 7 + , fetchFromGitHub 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "loksh"; 12 + version = "6.9"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "dimkr"; 16 + repo = pname; 17 + rev = version; 18 + fetchSubmodules = true; 19 + sha256 = "0x33plxqhh5202hgqidgccz5hpg8d2q71ylgnm437g60mfi9z0px"; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + meson 24 + ninja 25 + pkg-config 26 + ]; 27 + 28 + buildInputs = [ 29 + ncurses 30 + ]; 31 + 32 + postInstall = '' 33 + mv $out/bin/ksh $out/bin/loksh 34 + mv $out/share/man/man1/ksh.1 $out/share/man/man1/loksh.1 35 + mv $out/share/man/man1/sh.1 $out/share/man/man1/loksh-sh.1 36 + ''; 37 + 38 + passthru = { 39 + shellPath = "/bin/loksh"; 40 + }; 41 + 42 + meta = with lib; { 43 + description = "Linux port of OpenBSD's ksh"; 44 + homepage = "https://github.com/dimkr/loksh"; 45 + license = licenses.publicDomain; 46 + maintainers = with maintainers; [ cameronnemo ]; 47 + platforms = platforms.linux; 48 + }; 49 + } 50 +
+2
pkgs/top-level/all-packages.nix
··· 10704 10704 10705 10705 oksh = callPackage ../shells/oksh { }; 10706 10706 10707 + loksh = callPackage ../shells/loksh { }; 10708 + 10707 10709 pash = callPackage ../shells/pash { }; 10708 10710 10709 10711 scponly = callPackage ../shells/scponly { };