mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Merge pull request #117770 from tu-maurice/unstable/fishnet-2.2.6
fishnet: 2.2.5 -> 2.2.6
This commit is contained in:
commit
4d44628936
@ -9,13 +9,13 @@
|
||||
# again so that a selection of them can be embedded into the fishnet binary.
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fishnet-assets";
|
||||
version = "unstable-2020-01-30";
|
||||
version = "unstable-2020-03-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "niklasf";
|
||||
repo = pname;
|
||||
rev = "acd36ab6ccee67a652b6d84aedc4c2828abac5c6";
|
||||
sha256 = "0mh4gh6qij70clp64m4jw6q7dafr7gwjqpvpaf9vc6h10g1rhzrx";
|
||||
rev = "a1fe3ec6074ad9dc43e6d46e0d42fab5d7cce12c";
|
||||
sha256 = "1548wj2bs89b5w42z3c98hpnbln5w8p1909wyl7a63d8vkvnyn5l";
|
||||
};
|
||||
|
||||
relAssetsPath = "share/${pname}";
|
||||
|
@ -12,22 +12,24 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fishnet";
|
||||
version = "2.2.5";
|
||||
version = "2.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "niklasf";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0gif9wagm9bzq7j3biasqvzp9lfvmxqr5wagqqybmhbn8ipj20a8";
|
||||
sha256 = "0dmc58wzv758b82pjpfzcfi0hr14hqcr61cd9v5xlgk5w78cisjq";
|
||||
};
|
||||
|
||||
cargoSha256 = "0hqyh0nzfrm7m34kqixrlbc7w8d0k7v6psw8jg6zpwpfcmhqq15j";
|
||||
cargoSha256 = "08v969b0kvsg4dq3xsb159pr52a0vqr34g48j8nvq13979yq6d8p";
|
||||
|
||||
preBuild = ''
|
||||
rmdir ./assets
|
||||
ln -snf ${assets}/${assets.relAssetsPath} ./assets
|
||||
'';
|
||||
|
||||
passthru.assets = assets;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distributed Stockfish analysis for lichess.org";
|
||||
homepage = "https://github.com/niklasf/fishnet";
|
||||
|
Loading…
Reference in New Issue
Block a user