Unverified Commit e87e7def authored by Jenny's avatar Jenny Committed by GitHub
Browse files

fishnet: 2.9.3 -> 2.9.4 (#357512)

parents b075b4ea 2e46495e
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -6,10 +6,10 @@

let
  # These files can be found in Stockfish/src/evaluate.h
  nnueBigFile = "nn-31337bea577c.nnue";
  nnueBigFile = "nn-1111cefa1111.nnue";
  nnueBig = fetchurl {
    url = "https://tests.stockfishchess.org/api/nn/${nnueBigFile}";
    sha256 = "sha256-MTN76ld8W00LPlQYGGGJ7k9Yuq6rjX9vO9BXisp/d9k=";
    sha256 = "sha256-ERHO+hERa3cWG9SxTatMUPJuWSDHVvSGFZK+Pc1t4XQ=";
  };
  nnueSmallFile = "nn-37f18f62d772.nnue";
  nnueSmall = fetchurl {
@@ -18,13 +18,13 @@ let
  };
in rustPlatform.buildRustPackage rec {
  pname = "fishnet";
  version = "2.9.3";
  version = "2.9.4";

  src = fetchFromGitHub {
    owner = "lichess-org";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-HlCnUJBhIhooBvQVz1SDfiifXIBkBlH2dEq+C9al7qI=";
    hash = "sha256-JhllThFiHeC/5AAFwwZQ0mgbENIWP1cA7aD01DeDVL8=";
    fetchSubmodules = true;
  };

@@ -35,7 +35,7 @@ in rustPlatform.buildRustPackage rec {
    cp -v '${nnueSmall}' 'Fairy-Stockfish/src/${nnueSmallFile}'
  '';

  cargoHash = "sha256-Fb28XNhCt88PFnJ4s0I80L/rLJtBTEZ8Xd/68MYFoLs=";
  cargoHash = "sha256-HuVEg8uJ1WbXzYaXCPBobmxhbhk+X8D/xFcM2wE8Lh0=";

  meta = with lib; {
    description = "Distributed Stockfish analysis for lichess.org";