1 { lib, buildGoModule, fetchFromGitHub, makeWrapper, stockfish }:
7 subPackages = [ "cmd/uchess" ];
9 src = fetchFromGitHub {
13 sha256 = "1njl3f41gshdpj431zkvpv2b7zmh4m2m5q6xsijb0c0058dk46mz";
16 vendorSha256 = "sha256-4yEE1AsSChayCBxaMXPsbls7xGmFeWRhfOMHyAAReDY=";
18 # package does not contain any tests as of v0.2.1
21 nativeBuildInputs = [ makeWrapper ];
23 wrapProgram $out/bin/uchess --suffix PATH : ${stockfish}/bin
27 description = "Play chess against UCI engines in your terminal.";
28 homepage = "https://tmountain.github.io/uchess/";
29 maintainers = with maintainers; [ tmountain ];
30 license = licenses.mit;