diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-11-30 14:22:18 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2016-01-04 11:35:57 +0100 |
commit | 50b40d0709f51a7c3d34fa83f74c8e2ec1d2395b (patch) | |
tree | 1d993d87c33a5f26f506f39f6287e847365049b6 | |
parent | f1e3a8aed24b0e9475bbae5730cee11c3f541f0b (diff) | |
download | guix-50b40d0709f51a7c3d34fa83f74c8e2ec1d2395b.tar guix-50b40d0709f51a7c3d34fa83f74c8e2ec1d2395b.tar.gz |
gnu: Add libuv-julia.
* gnu/packages/julia.scm (libuv-julia): New variable.
-rw-r--r-- | gnu/packages/julia.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index fc152c8720..5885eb0268 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -20,6 +20,8 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix utils) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages algebra) @@ -27,6 +29,7 @@ #:use-module (gnu packages elf) #:use-module (gnu packages gcc) #:use-module (gnu packages llvm) + #:use-module (gnu packages libevent) #:use-module (gnu packages libunwind) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) ; mpfr @@ -38,6 +41,29 @@ #:use-module (gnu packages version-control) #:use-module (ice-9 match)) +(define libuv-julia + (let ((commit "030481e9d659fd46702ab747caf2cbbe19d537ba") + (revision "1")) + (package (inherit libuv) + (name "libuv-julia") + (version (string-append "0.11.26." revision "-" (string-take commit 8))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaLang/libuv.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1ss63wfr2hghc8kb6ciry394gp6x58haz8vaj57l5mp80z04gd54")))) + (build-system gnu-build-system) + (arguments + (substitute-keyword-arguments (package-arguments libuv) + ((#:phases phases) + `(modify-phases ,phases + (delete 'autogen))))) + (home-page "https://github.com/JuliaLang/libuv")))) + (define-public julia (package (name "julia") |