fishnet: format with nixfmt-rfc-style and add passthru.tests.version (#357516)
This commit is contained in:
commit
14147f11da
@ -1,7 +1,10 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
testers,
|
||||
fishnet,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -16,7 +19,8 @@ let
|
||||
url = "https://tests.stockfishchess.org/api/nn/${nnueSmallFile}";
|
||||
sha256 = "sha256-N/GPYtdy8xB+HWqso4mMEww8hvKrY+ZVX7vKIGNaiZ0=";
|
||||
};
|
||||
in rustPlatform.buildRustPackage rec {
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fishnet";
|
||||
version = "2.9.4";
|
||||
|
||||
@ -37,12 +41,22 @@ in rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-HuVEg8uJ1WbXzYaXCPBobmxhbhk+X8D/xFcM2wE8Lh0=";
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = fishnet;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distributed Stockfish analysis for lichess.org";
|
||||
homepage = "https://github.com/lichess-org/fishnet";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ tu-maurice thibaultd ];
|
||||
platforms = [ "aarch64-linux" "x86_64-linux" ];
|
||||
maintainers = with maintainers; [
|
||||
tu-maurice
|
||||
thibaultd
|
||||
];
|
||||
platforms = [
|
||||
"aarch64-linux"
|
||||
"x86_64-linux"
|
||||
];
|
||||
mainProgram = "fishnet";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user