mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
stockfish: 15 -> 16
See https://stockfishchess.org/blog/2023/stockfish-16/
This commit is contained in:
parent
657f034418
commit
75bcc135aa
@ -11,23 +11,23 @@ let
|
|||||||
if stdenv.isAarch64 then "armv8" else
|
if stdenv.isAarch64 then "armv8" else
|
||||||
"unknown";
|
"unknown";
|
||||||
|
|
||||||
nnueFile = "nn-6877cd24400e.nnue";
|
nnueFile = "nn-5af11540bbfe.nnue";
|
||||||
nnue = fetchurl {
|
nnue = fetchurl {
|
||||||
name = nnueFile;
|
name = nnueFile;
|
||||||
url = "https://tests.stockfishchess.org/api/nn/${nnueFile}";
|
url = "https://tests.stockfishchess.org/api/nn/${nnueFile}";
|
||||||
sha256 = "sha256-aHfNJEAOAbGf8SrjBoriQhUoAr3TMOZve2cDhlJR1uM=";
|
sha256 = "sha256-WvEVQLv+/LVOOMXdAAyrS0ad+nWZodVb5dJyLCCokps=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "stockfish";
|
pname = "stockfish";
|
||||||
version = "15";
|
version = "16";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "official-stockfish";
|
owner = "official-stockfish";
|
||||||
repo = "Stockfish";
|
repo = "Stockfish";
|
||||||
rev = "sf_${version}";
|
rev = "sf_${version}";
|
||||||
sha256 = "sha256-sK4Jw9BPGRvlm9oIcgGcmHe8G4GR4cEuD8MtDrHZKew=";
|
sha256 = "sha256-ASy2vIP94lnSKgxixK1GoC84yAysaJpxeyuggV4MrP4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# This addresses a linker issue with Darwin
|
# This addresses a linker issue with Darwin
|
||||||
|
Loading…
Reference in New Issue
Block a user