cntk: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-15 11:26:37 +01:00
parent ba4c657bda
commit f8684d34e9

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, fetchFromGitHub, cmake
{ lib, stdenv, fetchFromGitHub, cmake
, fetchpatch
, openblas, blas, lapack, opencv3, libzip, boost, protobuf, mpi
, onebitSGDSupport ? false
@ -22,11 +22,12 @@ in stdenv.mkDerivation rec {
pname = "CNTK";
version = "2.7";
# Submodules
src = fetchgit {
url = "https://github.com/Microsoft/CNTK";
src = fetchFromGitHub {
owner = "Microsoft";
repo = "CNTK";
rev = "v${version}";
sha256 = "18l9k7s966a26ywcf7flqyhm61788pcb9fj3wk61jrmgkhy2pcns";
sha256 = "sha256-2rIrPJyvZhnM5EO6tNhF6ARTocfUHce4N0IZk/SZiaI=";
fetchSubmodules = true;
};
patches = [