~ruther/guix-local

cd1cbb61076630fe065115426cad3ecde455b53d — Ludovic Courtès 4 years ago 674dbeb
gnu: libuv-julia: Move next to libuv.

Inheritance should happen within the same module.

* gnu/packages/julia.scm (libuv-julia): Move to...
* gnu/packages/libevent.scm (libuv-julia): ... here.
2 files changed, 22 insertions(+), 20 deletions(-)

M gnu/packages/julia.scm
M gnu/packages/libevent.scm
M gnu/packages/julia.scm => gnu/packages/julia.scm +0 -20
@@ 54,26 54,6 @@
  #:use-module (gnu packages wget)
  #:use-module (ice-9 match))

(define libuv-julia
  (let ((commit "fb3e3364c33ae48c827f6b103e05c3f0e78b79a9")
        (revision "3"))
    ;; When upgrading Julia, also upgrade this.  Get the commit from
    ;; https://github.com/JuliaLang/julia/blob/v1.6.1/deps/libuv.version
    (package
      (inherit libuv)
      (name "libuv-julia")
      (version (git-version "2.0.0" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                       (url "https://github.com/JuliaLang/libuv")
                       (commit commit)))
                (file-name (git-file-name name version))
                (sha256
                 (base32
                  "1kqpn19d20aka30h6q5h8lnzyp0vw0xzgx0wm4w2r5j6yf76m2hr"))))
      (home-page "https://github.com/JuliaLang/libuv"))))

(define libunwind-julia
  ;; The Julia projects requires their patched version.
  ;; Get from https://github.com/JuliaLang/julia/tree/master/deps/patches

M gnu/packages/libevent.scm => gnu/packages/libevent.scm +22 -0
@@ 28,6 28,7 @@
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system perl)
  #:use-module (gnu packages autotools)


@@ 150,6 151,27 @@ resolution, asynchronous file system operations, and threading primitives.")
                "0wpb9pz3r8nksnrf4zbixj2kk9whr7abi45ydrwyv2js2ljrc4j3"))))
    (properties '((hidden? . #t)))))

(define-public libuv-julia
  (let ((commit "fb3e3364c33ae48c827f6b103e05c3f0e78b79a9")
        (revision "3"))
    ;; When upgrading Julia, also upgrade this.  Get the commit from
    ;; https://github.com/JuliaLang/julia/blob/v1.6.1/deps/libuv.version
    (package
      (inherit libuv)
      (name "libuv-julia")
      (version (git-version "2.0.0" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                       (url "https://github.com/JuliaLang/libuv")
                       (commit commit)))
                (file-name (git-file-name name version))
                (sha256
                 (base32
                  "1kqpn19d20aka30h6q5h8lnzyp0vw0xzgx0wm4w2r5j6yf76m2hr"))))
      (home-page "https://github.com/JuliaLang/libuv")
      (properties '((hidden? . #t))))))

(define-public perl-anyevent
  (package
    (name "perl-anyevent")