depot/pkgs/shells/yash/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +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";
}