2023-08-25 12:17:40 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, gettext, ncurses, asciidoc }:
|
2022-01-09 13:48:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "yash";
|
2024-08-04 16:10:03 +00:00
|
|
|
version = "2.57";
|
2022-01-09 13:48:36 +00:00
|
|
|
|
2023-08-25 12:17:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magicant";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-08-04 16:10:03 +00:00
|
|
|
hash = "sha256-TqQWbwNk2P2vETJ2294bd689WBry0xRdz7xz/NnMBrk=";
|
2022-01-09 13:48:36 +00:00
|
|
|
};
|
|
|
|
|
2022-05-06 18:39:28 +00:00
|
|
|
strictDeps = true;
|
2023-08-25 12:17:40 +00:00
|
|
|
nativeBuildInputs = [ asciidoc gettext ];
|
2023-08-31 23:56:00 +00:00
|
|
|
buildInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ gettext ];
|
2022-01-09 13:48:36 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://yash.osdn.jp/index.html.en";
|
2022-06-03 00:57:11 +00:00
|
|
|
description = "Yet another POSIX-compliant shell";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "yash";
|
2022-01-09 13:48:36 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru.shellPath = "/bin/yash";
|
|
|
|
}
|