nixpkgs/pkgs/by-name/ya/yash/package.nix
2025-02-02 15:18:54 +00:00

39 lines
772 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
gettext,
ncurses,
asciidoc,
}:
stdenv.mkDerivation rec {
pname = "yash";
version = "2.58";
src = fetchFromGitHub {
owner = "magicant";
repo = pname;
rev = version;
hash = "sha256-d0Dt/+TxAtfKndXao6Cd9IEujHwi6H5HQjgY774UEFY=";
};
strictDeps = true;
nativeBuildInputs = [
asciidoc
gettext
];
buildInputs = [ ncurses ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gettext ];
meta = with lib; {
homepage = "https://yash.osdn.jp/index.html.en";
description = "Yet another POSIX-compliant shell";
mainProgram = "yash";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ qbit ];
platforms = platforms.all;
};
passthru.shellPath = "/bin/yash";
}