depot/third_party/nixpkgs/pkgs/shells/yash/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

28 lines
749 B
Nix

{ stdenv, lib, fetchFromGitHub, gettext, ncurses, asciidoc }:
stdenv.mkDerivation rec {
pname = "yash";
version = "2.57";
src = fetchFromGitHub {
owner = "magicant";
repo = pname;
rev = version;
hash = "sha256-TqQWbwNk2P2vETJ2294bd689WBry0xRdz7xz/NnMBrk=";
};
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";
}