git.iko.soy/typeable/nixpkgs
on master help sign in
uchess: init at 0.2.1
commitecf73146301c3454214fda071d29b395618f0487 authorTravis Whitton <travis@sharpspring.com> dateThu 18 Feb 2021, 17:41 (6 years ago) parentd73afe9
2 files changed+36
pkgs/games/uchess/default.nix+32 pkgs/top-level/all-packages.nix+4
pkgs/games/uchess/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ lib, buildGoModule, fetchFromGitHub, makeWrapper, stockfish }:
2+
3+buildGoModule rec {
4+ pname = "uchess";
5+ version = "0.2.1";
6+
7+ subPackages = [ "cmd/uchess" ];
8+
9+ src = fetchFromGitHub {
10+ owner = "tmountain";
11+ repo = "uchess";
12+ rev = "v${version}";
13+ sha256 = "1njl3f41gshdpj431zkvpv2b7zmh4m2m5q6xsijb0c0058dk46mz";
14+ };
15+
16+ vendorSha256 = "0dkq240ch1z3gihn8yc5d723nnvfxirk2nhw12r1c2hj1ga088g3";
17+
18+ # package does not contain any tests as of v0.2.1
19+ doCheck = false;
20+
21+ buildInputs = [ makeWrapper ];
22+ postInstall = ''
23+ wrapProgram $out/bin/uchess --suffix PATH : ${stockfish}/bin
24+ '';
25+
26+ meta = with lib; {
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;
31+ };
32+}
pkgs/top-level/all-packages.nix+4
@@ -27322,6 +27322,10 @@ in
2732227322
2732327323 typespeed = callPackage ../games/typespeed { };
2732427324
27325+ uchess = callPackage ../games/uchess {
27326+ buildGoModule = buildGo116Module;
27327+ };
27328+
2732527329 udig = callPackage ../applications/gis/udig { };
2732627330
2732727331 ufoai = callPackage ../games/ufoai { };