stockfish: 16.1 -> 17 (#340473)

This commit is contained in:
Ben Siraphob 2024-09-18 00:05:46 -04:00 committed by GitHub
commit 4b87f8820e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,29 +12,29 @@ let
"unknown"; "unknown";
# These files can be found in src/evaluate.h # These files can be found in src/evaluate.h
nnueBigFile = "nn-b1a57edbea57.nnue"; nnueBigFile = "nn-1111cefa1111.nnue";
nnueBig = fetchurl { nnueBig = fetchurl {
name = nnueBigFile; name = nnueBigFile;
url = "https://tests.stockfishchess.org/api/nn/${nnueBigFile}"; url = "https://tests.stockfishchess.org/api/nn/${nnueBigFile}";
sha256 = "sha256-saV+2+pXTKi4jWg3RzhFeRvrU9iF+H+G1czdVln787I="; sha256 = "sha256-ERHO+hERa3cWG9SxTatMUPJuWSDHVvSGFZK+Pc1t4XQ=";
}; };
nnueSmallFile = "nn-baff1ede1f90.nnue"; nnueSmallFile = "nn-37f18f62d772.nnue";
nnueSmall = fetchurl { nnueSmall = fetchurl {
name = nnueSmallFile; name = nnueSmallFile;
url = "https://tests.stockfishchess.org/api/nn/${nnueSmallFile}"; url = "https://tests.stockfishchess.org/api/nn/${nnueSmallFile}";
sha256 = "sha256-uv8e3h+Qwd0bT3cvHv8phIghgB6BhjRdp/DrQSG9b2M="; sha256 = "sha256-N/GPYtdy8xB+HWqso4mMEww8hvKrY+ZVX7vKIGNaiZ0=";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "stockfish"; pname = "stockfish";
version = "16.1"; version = "17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "official-stockfish"; owner = "official-stockfish";
repo = "Stockfish"; repo = "Stockfish";
rev = "sf_${version}"; rev = "sf_${version}";
sha256 = "sha256-xTtjfJgEHF0SQT9Fw/9RLZA0Quh00jrIbihr7IYCm2U="; sha256 = "sha256-oXvLaC5TEUPlHjhm7tOxpNPY88QxYHFw+Cev3Q8NEeQ=";
}; };
postUnpack = '' postUnpack = ''
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
Stockfish is one of the strongest chess engines in the world. It is also Stockfish is one of the strongest chess engines in the world. It is also
much stronger than the best human chess grandmasters. much stronger than the best human chess grandmasters.
''; '';
maintainers = with maintainers; [ luispedro siraben ]; maintainers = with maintainers; [ luispedro siraben thibaultd ];
platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
license = licenses.gpl3Only; license = licenses.gpl3Only;
}; };