nixpkgs/pkgs/shells/yash/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
738 B
Nix
Raw Normal View History

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