Merge pull request #113654 from tmountain/uchess

uchess: init at 0.2.1
This commit is contained in:
Sandro 2021-02-19 00:14:49 +01:00 committed by GitHub
commit f5d27ad946
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, stockfish }:
buildGoModule rec {
pname = "uchess";
version = "0.2.1";
subPackages = [ "cmd/uchess" ];
src = fetchFromGitHub {
owner = "tmountain";
repo = "uchess";
rev = "v${version}";
sha256 = "1njl3f41gshdpj431zkvpv2b7zmh4m2m5q6xsijb0c0058dk46mz";
};
vendorSha256 = "0dkq240ch1z3gihn8yc5d723nnvfxirk2nhw12r1c2hj1ga088g3";
# package does not contain any tests as of v0.2.1
doCheck = false;
buildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/uchess --suffix PATH : ${stockfish}/bin
'';
meta = with lib; {
description = "Play chess against UCI engines in your terminal.";
homepage = "https://tmountain.github.io/uchess/";
maintainers = with maintainers; [ tmountain ];
license = licenses.mit;
};
}

View File

@ -27324,6 +27324,10 @@ in
typespeed = callPackage ../games/typespeed { };
uchess = callPackage ../games/uchess {
buildGoModule = buildGo116Module;
};
udig = callPackage ../applications/gis/udig { };
ufoai = callPackage ../games/ufoai { };