2023-10-09 19:29:22 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, gettext, ncurses, asciidoc }:
|
2022-01-13 20:06:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "yash";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.55";
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magicant";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-raTIqklo69JEuhzdWUK3uywuLjqeQJCJ9nvnLRxlGr4=";
|
2022-01-13 20:06:32 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
strictDeps = true;
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [ asciidoc gettext ];
|
|
|
|
buildInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ gettext ];
|
2022-01-13 20:06:32 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://yash.osdn.jp/index.html.en";
|
2022-06-16 17:23:12 +00:00
|
|
|
description = "Yet another POSIX-compliant shell";
|
2022-01-13 20:06:32 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru.shellPath = "/bin/yash";
|
|
|
|
}
|