mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
stockfish: init at 6
This commit is contained in:
parent
3a8112f7da
commit
8bec69e9c8
32
pkgs/games/stockfish/default.nix
Normal file
32
pkgs/games/stockfish/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "6";
|
||||||
|
name = "stockfish-${version}";
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://stockfish.s3.amazonaws.com/stockfish-6-src.zip;
|
||||||
|
sha256 = "a69a371d3f84338cefde4575669bd930d186b046a10fa5ab0f8d1aed6cb204c3";
|
||||||
|
};
|
||||||
|
buildPhase = ''
|
||||||
|
cd src
|
||||||
|
make build ARCH=x86-64
|
||||||
|
'';
|
||||||
|
buildInputs = [
|
||||||
|
stdenv
|
||||||
|
unzip
|
||||||
|
];
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp -pr stockfish $out/bin
|
||||||
|
'';
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://stockfishchess.org/;
|
||||||
|
description = "Strong open source chess engine";
|
||||||
|
longDescription = ''
|
||||||
|
Stockfish is one of the strongest chess engines in the world. It is also
|
||||||
|
much stronger than the best human chess grandmasters.
|
||||||
|
'';
|
||||||
|
maintainers = with maintainers; [ luispedro ];
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
@ -14294,6 +14294,8 @@ let
|
|||||||
|
|
||||||
stardust = callPackage ../games/stardust {};
|
stardust = callPackage ../games/stardust {};
|
||||||
|
|
||||||
|
stockfish = callPackage ../games/stockfish { };
|
||||||
|
|
||||||
steamPackages = callPackage ../games/steam { };
|
steamPackages = callPackage ../games/steam { };
|
||||||
steam = steamPackages.steam-chrootenv.override {
|
steam = steamPackages.steam-chrootenv.override {
|
||||||
# DEPRECATED
|
# DEPRECATED
|
||||||
|
Loading…
Reference in New Issue
Block a user