2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "chess-tui";
|
|
|
|
version = "1.2.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thomas-mauran";
|
|
|
|
repo = "chess-tui";
|
|
|
|
rev = "${version}";
|
|
|
|
hash = "sha256-LtxaZ/7p/lqStoUmckVVaegQp02Ci3L46fMFEgledj4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoHash = "sha256-RUnT5b9pBcopTPT/1J48xZ4pfn3C0mIuYTDvgf3zvn0=";
|
|
|
|
|
|
|
|
meta = with lib;{
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Chess TUI implementation in rust";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/thomas-mauran/chess-tui";
|
|
|
|
maintainers = with maintainers; [ ByteSudoer ];
|
|
|
|
license = licenses.mit;
|
|
|
|
mainProgram = "chess-tui";
|
|
|
|
};
|
|
|
|
}
|