Merge pull request #51562 from averelld/leela-zero

leela-zero: init at 0.16
This commit is contained in:
Alexey Shmalko 2018-12-05 23:23:05 +02:00 committed by GitHub
commit 9a75598d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, fetchFromGitHub, cmake, boost, eigen
, opencl-headers, ocl-icd, qtbase , zlib }:
stdenv.mkDerivation rec {
name = "leela-zero-${version}";
version = "0.16";
src = fetchFromGitHub {
owner = "gcp";
repo = "leela-zero";
rev = "v${version}";
sha256 = "1px7wqvlv414gklzgrmppp8wzc2mkskinm1p75j4snbqr8qpbn5s";
fetchSubmodules = true;
};
buildInputs = [ boost opencl-headers ocl-icd qtbase zlib ];
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Go engine modeled after AlphaGo Zero";
homepage = https://github.com/gcp/leela-zero;
license = licenses.gpl3;
maintainers = [ maintainers.averelld ];
platforms = platforms.linux;
};
}

View File

@ -20524,6 +20524,8 @@ in
kobodeluxe = callPackage ../games/kobodeluxe { };
leela-zero = libsForQt5.callPackage ../games/leela-zero { };
lgogdownloader = callPackage ../games/lgogdownloader { };
liberal-crime-squad = callPackage ../games/liberal-crime-squad { };