diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-09 23:10:09 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-06-09 23:33:54 -0300 |
commit | 8e41788cba33409cf2e1113b14cc7b19f97f5adf (patch) | |
tree | 3bf9bb447bfdc80125f05960c4974db56e107d8d | |
parent | d2ebaafd9081c26a5da581898e562b348ecf4a95 (diff) |
leela-zero: use SRI hash format
-rw-r--r-- | pkgs/games/leela-zero/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/games/leela-zero/default.nix b/pkgs/games/leela-zero/default.nix index 13b423832e679..e7b6c79341881 100644 --- a/pkgs/games/leela-zero/default.nix +++ b/pkgs/games/leela-zero/default.nix @@ -1,5 +1,13 @@ -{ lib, stdenv, fetchFromGitHub, cmake, boost -, opencl-headers, ocl-icd, qtbase , zlib }: +{ lib +, stdenv +, fetchFromGitHub +, cmake +, boost +, opencl-headers +, ocl-icd +, qtbase +, zlib +}: stdenv.mkDerivation rec { pname = "leela-zero"; @@ -9,7 +17,7 @@ stdenv.mkDerivation rec { owner = "gcp"; repo = "leela-zero"; rev = "v${version}"; - sha256 = "1k04ld1ysabxb8ivci3ji5by9vb3yvnflkf2fscs1x0bp7d6j101"; + sha256 = "sha256-AQRp2rkL9KCZdsJN6uz2Y+3kV4lyRLYjWn0p7UOjBMw="; fetchSubmodules = true; }; @@ -21,9 +29,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Go engine modeled after AlphaGo Zero"; - homepage = "https://github.com/gcp/leela-zero"; - license = licenses.gpl3; + homepage = "https://github.com/gcp/leela-zero"; + license = licenses.gpl3Plus; maintainers = [ maintainers.averelld maintainers.omnipotententity ]; - platforms = platforms.linux; + platforms = platforms.linux; }; } |