Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8fbbee18d3a4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9a75598d98ec
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Dec 5, 2018

  1. leela-zero: init at 0.16

    Averell Dalton committed Dec 5, 2018
    Copy the full SHA
    b47d83f View commit details
  2. Merge pull request #51562 from averelld/leela-zero

    leela-zero: init at 0.16
    rasendubi authored Dec 5, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9a75598 View commit details
Showing with 31 additions and 0 deletions.
  1. +29 −0 pkgs/games/leela-zero/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
29 changes: 29 additions & 0 deletions pkgs/games/leela-zero/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchurl, fetchFromGitHub, cmake, boost, eigen
, opencl-headers, ocl-icd, qtbase , zlib }:

stdenv.mkDerivation rec {
name = "leela-zero-${version}";
version = "0.16";

src = fetchFromGitHub {
owner = "gcp";
repo = "leela-zero";
rev = "v${version}";
sha256 = "1px7wqvlv414gklzgrmppp8wzc2mkskinm1p75j4snbqr8qpbn5s";
fetchSubmodules = true;
};

buildInputs = [ boost opencl-headers ocl-icd qtbase zlib ];

nativeBuildInputs = [ cmake ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Go engine modeled after AlphaGo Zero";
homepage = https://github.com/gcp/leela-zero;
license = licenses.gpl3;
maintainers = [ maintainers.averelld ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -20524,6 +20524,8 @@ in

kobodeluxe = callPackage ../games/kobodeluxe { };

leela-zero = libsForQt5.callPackage ../games/leela-zero { };

lgogdownloader = callPackage ../games/lgogdownloader { };

liberal-crime-squad = callPackage ../games/liberal-crime-squad { };