stockfish: update to version 10

This commit is contained in:
Peter Simons 2018-12-09 10:57:52 +01:00
parent a9779bdfc4
commit ad212c5991

View File

@ -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";