1 { stdenv, lib, fetchFromGitHub, gettext, ncurses, asciidoc }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-raTIqklo69JEuhzdWUK3uywuLjqeQJCJ9nvnLRxlGr4=";
15 nativeBuildInputs = [ asciidoc gettext ];
16 buildInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ gettext ];
19 homepage = "https://yash.osdn.jp/index.html.en";
20 description = "Yet another POSIX-compliant shell";
21 license = licenses.gpl2Plus;
22 maintainers = with maintainers; [ qbit ];
23 platforms = platforms.all;
26 passthru.shellPath = "/bin/yash";