about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/arrayfire.scm20
1 files changed, 8 insertions, 12 deletions
diff --git a/gn/packages/arrayfire.scm b/gn/packages/arrayfire.scm
index c82ed5c..e09fff8 100644
--- a/gn/packages/arrayfire.scm
+++ b/gn/packages/arrayfire.scm
@@ -17,11 +17,11 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gn packages arrayfire)
-  #:use-module ((guix packages))
+  #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
-  #:use-module (guix licenses)
+  #:use-module (guix packages)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages curl)
@@ -118,12 +118,11 @@
        ("zlib" ,zlib)))
     (build-system cmake-build-system)
     (arguments 
-     `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release -DBUILD_OPENCL=ON")))
-     
+     `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release -DBUILD_OPENCL=ON")))     
     (synopsis "ArrayFire: a general purpose GPU library. https://arrayfire.com")
     (description "ArrayFire is a high performance software library for parallel computing with an easy-to-use API. Its array based function set makes parallel programming simple.")
     (home-page "http://arrayfire.com/")
-    (license gpl3+)))
+    (license gpl2+)))
 
 (define-public glfw
   (package
@@ -138,14 +137,12 @@
               (base32
                "1g0jm80cakk60477zz9z1mpsznxaadsfm318yiigf6kackrkqfqg"))))
     (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
-    (native-inputs
-      `(("autoconf" ,autoconf)
+    (native-inputs `(("autoconf" ,autoconf)
         ("automake" ,automake)
         ("cmake" ,cmake)
         ("libtool" ,libtool)
         ("pkg-config" ,pkg-config)))
-    (inputs
-     `(("bzip2" ,bzip2)
+    (inputs `(("bzip2" ,bzip2)
        ("curl" ,curl)
        ("dbus" ,dbus)
        ("enca" ,enca)
@@ -176,10 +173,9 @@
        ("tinyxml" ,tinyxml)
        ("unzip" ,unzip)
        ("zip" ,zip)
-       ("zlib" ,zlib)))
-       
+       ("zlib" ,zlib)))       
     (home-page "http://www.glfw.org/")
     (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.")
     (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.")
-    (license license:gpl2+)))
+    (license gpl2)))