nixpkgs/pkgs/shells/yash/default.nix

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

28 lines
710 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";
2023-08-25 12:17:40 +00:00
version = "2.55";
2022-01-09 13:48:36 +00:00
2023-08-25 12:17:40 +00:00
src = fetchFromGitHub {
owner = "magicant";
repo = pname;
rev = version;
hash = "sha256-raTIqklo69JEuhzdWUK3uywuLjqeQJCJ9nvnLRxlGr4=";
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";
2022-01-09 13:48:36 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ qbit ];
platforms = platforms.all;
};
passthru.shellPath = "/bin/yash";
}