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