about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-03-22 02:13:45 +0100
committerGitHub <noreply@github.com>2022-03-22 02:13:45 +0100
commit4348e3645655de31f3c49bbe3b6c3713c59b9874 (patch)
tree8a99f339935da448c2e40bdbe6e6f23ef6dabba2 /pkgs/applications/science
parent86e74a4b9746220dad3d03452aae58c014c61cfa (diff)
parent10d595efc191189951aa65a7d854b241e50a2a5b (diff)
downloadnixlib-4348e3645655de31f3c49bbe3b6c3713c59b9874.tar
nixlib-4348e3645655de31f3c49bbe3b6c3713c59b9874.tar.gz
nixlib-4348e3645655de31f3c49bbe3b6c3713c59b9874.tar.bz2
nixlib-4348e3645655de31f3c49bbe3b6c3713c59b9874.tar.lz
nixlib-4348e3645655de31f3c49bbe3b6c3713c59b9874.tar.xz
nixlib-4348e3645655de31f3c49bbe3b6c3713c59b9874.tar.zst
nixlib-4348e3645655de31f3c49bbe3b6c3713c59b9874.zip
Merge pull request #164248 from Stunkymonkey/treewide-fetchFromGitHub-2
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/cntk/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/science/math/cntk/default.nix b/pkgs/applications/science/math/cntk/default.nix
index ba2225b903fa..eb14982575a2 100644
--- a/pkgs/applications/science/math/cntk/default.nix
+++ b/pkgs/applications/science/math/cntk/default.nix
@@ -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 = [