stockfish: update to version 10
This commit is contained in:
parent
a9779bdfc4
commit
ad212c5991
|
@ -3,15 +3,17 @@
|
||||||
let arch = if stdenv.isx86_64 then "x86-64" else
|
let arch = if stdenv.isx86_64 then "x86-64" else
|
||||||
if stdenv.isi686 then "x86-32" else
|
if stdenv.isi686 then "x86-32" else
|
||||||
"unknown";
|
"unknown";
|
||||||
|
|
||||||
|
version = "10";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
|
|
||||||
name = "stockfish-9";
|
name = "stockfish-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/official-stockfish/Stockfish/archive/sf_9.tar.gz";
|
url = "https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz";
|
||||||
sha256 = "1i37izc3sq9vr663iaxpfh008lgsw7abzj1ws5l1hf3b6xjkgwyh";
|
sha256 = "1lrxqq8fw1wrw5b45r4s3ddd51yr85a2k8a9i1wjvyd6v9vm7761";
|
||||||
};
|
};
|
||||||
|
|
||||||
postUnpack = "sourceRoot+=/src";
|
postUnpack = "sourceRoot+=/src";
|
||||||
|
|
Loading…
Reference in a new issue