leela-zero: use SRI hash format

This commit is contained in:
AndersonTorres 2022-06-09 23:10:09 -03:00
parent d2ebaafd90
commit 8e41788cba

View file

@ -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;
};
}