about summary refs log tree commit diff
path: root/pkgs/by-name/ch
diff options
context:
space:
mode:
authorByteSudoer <ByteSudoer@users.noreply.github.com>2024-04-11 04:18:49 +0100
committerByteSudoer <ByteSudoer@users.noreply.github.com>2024-04-11 04:18:49 +0100
commitf5933f5148ff7a19152248383b8a267c19d27e69 (patch)
treeda1bfc1eb1d78e2bb11b640af5e77ab9cf5bdaaa /pkgs/by-name/ch
parent837e6d88834f1e24a0adbf93c0cf11fe9e110bab (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.nix26
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";
+  };
+}