mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
622 B
Nix
27 lines
622 B
Nix
{ 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;{
|
|
description = "Chess TUI implementation in rust";
|
|
homepage = "https://github.com/thomas-mauran/chess-tui";
|
|
maintainers = with maintainers; [ ByteSudoer ];
|
|
license = licenses.mit;
|
|
mainProgram = "chess-tui";
|
|
};
|
|
}
|