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.
This commit is contained in:
Ludovic Courtès 2021-11-18 16:18:08 +01:00
parent 674dbeb436
commit cd1cbb6107
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 22 additions and 20 deletions

View file

@ -54,26 +54,6 @@ (define-module (gnu packages julia)
#:use-module (gnu packages wget) #:use-module (gnu packages wget)
#:use-module (ice-9 match)) #: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 (define libunwind-julia
;; The Julia projects requires their patched version. ;; The Julia projects requires their patched version.
;; Get from https://github.com/JuliaLang/julia/tree/master/deps/patches ;; Get from https://github.com/JuliaLang/julia/tree/master/deps/patches

View file

@ -28,6 +28,7 @@ (define-module (gnu packages libevent)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
@ -150,6 +151,27 @@ (define-public libuv-for-node
"0wpb9pz3r8nksnrf4zbixj2kk9whr7abi45ydrwyv2js2ljrc4j3")))) "0wpb9pz3r8nksnrf4zbixj2kk9whr7abi45ydrwyv2js2ljrc4j3"))))
(properties '((hidden? . #t))))) (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 (define-public perl-anyevent
(package (package
(name "perl-anyevent") (name "perl-anyevent")