From ad212c5991fb4fecd819554885686cae79fd763e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 9 Dec 2018 10:57:52 +0100 Subject: [PATCH] stockfish: update to version 10 --- pkgs/games/stockfish/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/games/stockfish/default.nix b/pkgs/games/stockfish/default.nix index 1f99af85f9f3..13033c7f9f0a 100644 --- a/pkgs/games/stockfish/default.nix +++ b/pkgs/games/stockfish/default.nix @@ -3,15 +3,17 @@ let arch = if stdenv.isx86_64 then "x86-64" else if stdenv.isi686 then "x86-32" else "unknown"; + + version = "10"; in -stdenv.mkDerivation rec { +stdenv.mkDerivation { - name = "stockfish-9"; + name = "stockfish-${version}"; src = fetchurl { - url = "https://github.com/official-stockfish/Stockfish/archive/sf_9.tar.gz"; - sha256 = "1i37izc3sq9vr663iaxpfh008lgsw7abzj1ws5l1hf3b6xjkgwyh"; + url = "https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz"; + sha256 = "1lrxqq8fw1wrw5b45r4s3ddd51yr85a2k8a9i1wjvyd6v9vm7761"; }; postUnpack = "sourceRoot+=/src";