mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user