summary refs log tree commit diff
path: root/pkgs/development/libraries/arrayfire
diff options
context:
space:
mode:
authorHarrison Houghton <hora.rhino@gmail.com>2022-01-15 13:38:44 -0500
committerHarrison Houghton <hora.rhino@gmail.com>2022-01-15 13:38:44 -0500
commit0610ac7ab0ee64f7a27ba005c3d75aa85c0b0753 (patch)
tree52f975119a6fbfc24961976c9883dde13c1654b4 /pkgs/development/libraries/arrayfire
parentf3a0ca4172e22e46e1f77f149be71b49c9c3fd0c (diff)
arrayfire: 3.6.4 -> 3.7.3
Seems the code is now on GitHub, so fetch it from there.
Diffstat (limited to 'pkgs/development/libraries/arrayfire')
-rw-r--r--pkgs/development/libraries/arrayfire/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/libraries/arrayfire/default.nix b/pkgs/development/libraries/arrayfire/default.nix
index a66db48001775..bc0da2ddea20c 100644
--- a/pkgs/development/libraries/arrayfire/default.nix
+++ b/pkgs/development/libraries/arrayfire/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkg-config
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
 , opencl-clhpp, ocl-icd, fftw, fftwFloat
 , blas, lapack, boost, mesa, libGLU, libGL
 , freeimage, python3, clfft, clblas
@@ -8,11 +8,14 @@
 
 stdenv.mkDerivation rec {
   pname = "arrayfire";
-  version = "3.6.4";
+  version = "3.7.3";
 
-  src = fetchurl {
-    url = "http://arrayfire.com/arrayfire_source/arrayfire-full-${version}.tar.bz2";
-    sha256 = "1fin7a9rliyqic3z83agkpb8zlq663q6gdxsnm156cs8s7f7rc9h";
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0gcbg6b6gs38xhks5pp0vkcqs89zl7rh9982jqlzsd0h724qddw0";
+    fetchSubmodules = true;
   };
 
   cmakeFlags = [