diff options
author | Dennis E. Mungai | 2016-03-08 22:17:22 +0300 |
---|---|---|
committer | Dennis E. Mungai | 2016-03-08 22:17:22 +0300 |
commit | 7ff3a91d17727d6613e403854686866f74bcb1a8 (patch) | |
tree | c81d9fa22b43129b48df9da6dce95600569121ac /gn/packages/ocl-icd.scm | |
parent | 576288fd4701279b4ca41a0c454dbe921e63e7d3 (diff) | |
download | guix-bioinformatics-7ff3a91d17727d6613e403854686866f74bcb1a8.tar.gz |
Change license handling
Still fails to build. Obscure ruby error.
Diffstat (limited to 'gn/packages/ocl-icd.scm')
-rw-r--r-- | gn/packages/ocl-icd.scm | 41 |
1 files changed, 38 insertions, 3 deletions
diff --git a/gn/packages/ocl-icd.scm b/gn/packages/ocl-icd.scm index ecf749c..b33fe9d 100644 --- a/gn/packages/ocl-icd.scm +++ b/gn/packages/ocl-icd.scm @@ -17,7 +17,7 @@ ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. (define-module (gn packages ocl-icd) - #:use-module ((guix licenses)) + #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (guix packages) @@ -47,8 +47,9 @@ (inputs `(("zip" ,zip) ("autoconf" ,autoconf) ("automake" ,automake) - ("libtool" ,libtool) ("ruby" ,ruby) + ("libtool" ,libtool) + ("opencl-headers" ,opencl-headers) ("libgcrypt" ,libgcrypt))) (build-system gnu-build-system) (arguments @@ -61,4 +62,38 @@ (description "OpenCL implementations are provided as ICD (Installable Client Driver). An OpenCL program can use several ICD thanks to the use of an ICD Loader as provided by this project. This free ICD Loader can load any (free or non free) ICD") - (license (list gpl2)))) + (license license:gpl2))) + + (define-public opencl-headers +(let ((commit "c1770dc")) + (package + (name "opencl-headers") + (version (string-append "2.1-" commit )) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KhronosGroup/OpenCL-Headers.git") + (commit commit))) + (file-name (string-append name "-" commit)) + (sha256 + (base32 + "0m9fkblqja0686i2jjqiszvq3df95gp01a2674xknlmkd6525rck")))) + (propagated-inputs '()) + (inputs '()) + (native-inputs '()) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (copy-recursively "." (string-append + (assoc-ref outputs "out") + "/include/CL"))))))) + (synopsis "The Khronos OpenCL headers") + (description "This package provides the Khronos OpenCL headers") + (home-page "https://www.khronos.org/registry/cl/") + (license license:gpl2)))) |