katago: 1.4.4 -> 1.5.0

This commit is contained in:
Michael Reilly 2020-08-03 11:01:41 -04:00
parent 4f4e0477b7
commit 7652a8e3d5

View file

@ -35,30 +35,15 @@ let
in env.mkDerivation rec { in env.mkDerivation rec {
pname = "katago"; pname = "katago";
version = "1.4.4"; version = "1.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lightvector"; owner = "lightvector";
repo = "katago"; repo = "katago";
rev = "v${version}"; rev = "${version}";
sha256 = "14xs2bm8sky9cdsjdahjqs82q6blzcw05f5d9r1h171dm1hcx566"; sha256 = "0ajdjdmlzwh7zwk5v0k9zzjawgkf7w30pzqp5bhcsdqz4svvyll2";
}; };
# To workaround CMake 3.17.0's new buggy behavior wrt CUDA Compiler testing
# See the following tracking issues:
# KataGo:
# - Issue #225: https://github.com/lightvector/KataGo/issues/225
# - PR #227: https://github.com/lightvector/KataGo/pull/227
# CMake:
# - Issue #20708: https://gitlab.kitware.com/cmake/cmake/-/issues/20708
patches = [
(fetchpatch {
name = "227.patch";
url = "https://patch-diff.githubusercontent.com/raw/lightvector/KataGo/pull/227.patch";
sha256 = "03f1vmdjhb79mpj95sijcwla8acy32clrjgrn4xqw5h90zdgj511";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
makeWrapper makeWrapper