Loading pkgs/shells/loksh/default.nix +24 −14 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , meson , ncurses , ninja , pkg-config , ncurses , fetchFromGitHub }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "loksh"; version = "7.0"; version = "7.1"; src = fetchFromGitHub { owner = "dimkr"; repo = pname; rev = version; repo = finalAttrs.pname; rev = finalAttrs.version; fetchSubmodules = true; sha256 = "sha256-q5RiY9/xEFCk+oHlxgNwDOB+TNjRWHKzU2kQH2LjCWY="; sha256 = "sha256-APjY7wQUfUTXe3TRKWkDmMZuax0MpuU/KmgZfogdAGU="; }; strictDeps = true; nativeBuildInputs = [ meson ninja Loading @@ -30,21 +29,32 @@ stdenv.mkDerivation rec { ncurses ]; strictDeps = true; postInstall = '' mv $out/bin/ksh $out/bin/loksh mv $out/share/man/man1/ksh.1 $out/share/man/man1/loksh.1 mv $out/share/man/man1/sh.1 $out/share/man/man1/loksh-sh.1 ''; passthru = { shellPath = "/bin/loksh"; }; meta = with lib; { description = "Linux port of OpenBSD's ksh"; homepage = "https://github.com/dimkr/loksh"; description = "Linux port of OpenBSD's ksh"; longDescription = '' loksh is a Linux port of OpenBSD's ksh. Unlike other ports of ksh, loksh targets only one platform, follows upstream closely and keeps changes to a minimum. loksh does not add any extra features; this reduces the risk of introducing security vulnerabilities and makes loksh a good fit for resource-constrained systems. ''; license = licenses.publicDomain; maintainers = with maintainers; [ cameronnemo ]; platforms = platforms.linux; }; } passthru = { shellPath = "/bin/loksh"; }; }) Loading
pkgs/shells/loksh/default.nix +24 −14 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , meson , ncurses , ninja , pkg-config , ncurses , fetchFromGitHub }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "loksh"; version = "7.0"; version = "7.1"; src = fetchFromGitHub { owner = "dimkr"; repo = pname; rev = version; repo = finalAttrs.pname; rev = finalAttrs.version; fetchSubmodules = true; sha256 = "sha256-q5RiY9/xEFCk+oHlxgNwDOB+TNjRWHKzU2kQH2LjCWY="; sha256 = "sha256-APjY7wQUfUTXe3TRKWkDmMZuax0MpuU/KmgZfogdAGU="; }; strictDeps = true; nativeBuildInputs = [ meson ninja Loading @@ -30,21 +29,32 @@ stdenv.mkDerivation rec { ncurses ]; strictDeps = true; postInstall = '' mv $out/bin/ksh $out/bin/loksh mv $out/share/man/man1/ksh.1 $out/share/man/man1/loksh.1 mv $out/share/man/man1/sh.1 $out/share/man/man1/loksh-sh.1 ''; passthru = { shellPath = "/bin/loksh"; }; meta = with lib; { description = "Linux port of OpenBSD's ksh"; homepage = "https://github.com/dimkr/loksh"; description = "Linux port of OpenBSD's ksh"; longDescription = '' loksh is a Linux port of OpenBSD's ksh. Unlike other ports of ksh, loksh targets only one platform, follows upstream closely and keeps changes to a minimum. loksh does not add any extra features; this reduces the risk of introducing security vulnerabilities and makes loksh a good fit for resource-constrained systems. ''; license = licenses.publicDomain; maintainers = with maintainers; [ cameronnemo ]; platforms = platforms.linux; }; } passthru = { shellPath = "/bin/loksh"; }; })