fishnet: 2.2.5 -> 2.2.6
This commit is contained in:
parent
fade4a904c
commit
194d26f979
|
@ -9,13 +9,13 @@
|
||||||
# again so that a selection of them can be embedded into the fishnet binary.
|
# again so that a selection of them can be embedded into the fishnet binary.
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fishnet-assets";
|
pname = "fishnet-assets";
|
||||||
version = "unstable-2020-01-30";
|
version = "unstable-2020-03-27";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "niklasf";
|
owner = "niklasf";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "acd36ab6ccee67a652b6d84aedc4c2828abac5c6";
|
rev = "a1fe3ec6074ad9dc43e6d46e0d42fab5d7cce12c";
|
||||||
sha256 = "0mh4gh6qij70clp64m4jw6q7dafr7gwjqpvpaf9vc6h10g1rhzrx";
|
sha256 = "1548wj2bs89b5w42z3c98hpnbln5w8p1909wyl7a63d8vkvnyn5l";
|
||||||
};
|
};
|
||||||
|
|
||||||
relAssetsPath = "share/${pname}";
|
relAssetsPath = "share/${pname}";
|
||||||
|
|
|
@ -12,22 +12,24 @@ let
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "fishnet";
|
pname = "fishnet";
|
||||||
version = "2.2.5";
|
version = "2.2.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "niklasf";
|
owner = "niklasf";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0gif9wagm9bzq7j3biasqvzp9lfvmxqr5wagqqybmhbn8ipj20a8";
|
sha256 = "0dmc58wzv758b82pjpfzcfi0hr14hqcr61cd9v5xlgk5w78cisjq";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0hqyh0nzfrm7m34kqixrlbc7w8d0k7v6psw8jg6zpwpfcmhqq15j";
|
cargoSha256 = "08v969b0kvsg4dq3xsb159pr52a0vqr34g48j8nvq13979yq6d8p";
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
rmdir ./assets
|
rmdir ./assets
|
||||||
ln -snf ${assets}/${assets.relAssetsPath} ./assets
|
ln -snf ${assets}/${assets.relAssetsPath} ./assets
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.assets = assets;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Distributed Stockfish analysis for lichess.org";
|
description = "Distributed Stockfish analysis for lichess.org";
|
||||||
homepage = "https://github.com/niklasf/fishnet";
|
homepage = "https://github.com/niklasf/fishnet";
|
||||||
|
|
Loading…
Reference in a new issue