diff options
author | ByteSudoer <ByteSudoer@users.noreply.github.com> | 2024-04-11 04:18:49 +0100 |
---|---|---|
committer | ByteSudoer <ByteSudoer@users.noreply.github.com> | 2024-04-11 04:18:49 +0100 |
commit | f5933f5148ff7a19152248383b8a267c19d27e69 (patch) | |
tree | da1bfc1eb1d78e2bb11b640af5e77ab9cf5bdaaa /pkgs/by-name/ch | |
parent | 837e6d88834f1e24a0adbf93c0cf11fe9e110bab (diff) |
chess-tui: init at 1.2.0
Diffstat (limited to 'pkgs/by-name/ch')
-rw-r--r-- | pkgs/by-name/ch/chess-tui/package.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/ch/chess-tui/package.nix b/pkgs/by-name/ch/chess-tui/package.nix new file mode 100644 index 0000000000000..d37e1956bc8f1 --- /dev/null +++ b/pkgs/by-name/ch/chess-tui/package.nix @@ -0,0 +1,26 @@ +{ lib +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "chess-tui"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "thomas-mauran"; + repo = "chess-tui"; + rev = "${version}"; + hash = "sha256-If2xShHuqdCeasP12ZzwvGJSIKFmqJs0Hv1fBhJKoU4="; + }; + + cargoHash = "sha256-TT4lVAttlT3knufMslSVxInn9QM0QJ9jyklzwhRikWA="; + + meta = with lib;{ + description = "A chess TUI implementation in rust"; + homepage = "https://github.com/thomas-mauran/chess-tui"; + maintainers = with maintainers; [ ByteSudoer ]; + license = licenses.mit; + mainProgram = "chess-tui"; + }; +} |