depot/third_party/nixpkgs/pkgs/shells/yash/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

27 lines
710 B
Nix

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