From f5933f5148ff7a19152248383b8a267c19d27e69 Mon Sep 17 00:00:00 2001 From: ByteSudoer Date: Thu, 11 Apr 2024 04:18:49 +0100 Subject: [PATCH] chess-tui: init at 1.2.0 --- pkgs/by-name/ch/chess-tui/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/ch/chess-tui/package.nix 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 000000000000..d37e1956bc8f --- /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"; + }; +}