gnu: Add julia-zlib-jll.
* gnu/packages/julia-xyz.scm (julia-zlib-jll): New variable.
This commit is contained in:
parent
7c4c781aa4
commit
69b13cd4ea
1 changed files with 41 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||||
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
||||||
|
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -22,6 +23,7 @@
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix build-system julia)
|
#:use-module (guix build-system julia)
|
||||||
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages gcc)
|
#:use-module (gnu packages gcc)
|
||||||
#:use-module (gnu packages maths)
|
#:use-module (gnu packages maths)
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
|
@ -1286,6 +1288,45 @@ working with @acronym{URIs,Uniform Resource Identifiers}, as defined in RFC
|
||||||
system.")
|
system.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public julia-zlib-jll
|
||||||
|
(package
|
||||||
|
(name "julia-zlib-jll")
|
||||||
|
(version "1.2.12+1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/JuliaBinaryWrappers/Zlib_jll.jl")
|
||||||
|
(commit (string-append "Zlib-v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"05ih0haqapkzr40swvq63cafnqlc4yp6yfa1wvdyq8v3n4kxhfqa"))))
|
||||||
|
(build-system julia-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f ; no runtests
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'override-binary-path
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(map
|
||||||
|
(lambda (wrapper)
|
||||||
|
(substitute* wrapper
|
||||||
|
(("generate_wrapper_header.*")
|
||||||
|
(string-append
|
||||||
|
"generate_wrapper_header(\"Zlib\", \""
|
||||||
|
(assoc-ref inputs "zlib") "\")\n"))))
|
||||||
|
;; There's a Julia file for each platform, override them all
|
||||||
|
(find-files "src/wrappers/" "\\.jl$")))))))
|
||||||
|
(inputs
|
||||||
|
`(("zlib" ,zlib)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("julia-jllwrappers" ,julia-jllwrappers)))
|
||||||
|
(home-page "https://github.com/JuliaBinaryWrappers/Zlib_jll.jl")
|
||||||
|
(synopsis "Zlib library wrappers")
|
||||||
|
(description "This package provides a wrapper for Zlib.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public julia-zygoterules
|
(define-public julia-zygoterules
|
||||||
(package
|
(package
|
||||||
(name "julia-zygoterules")
|
(name "julia-zygoterules")
|
||||||
|
|
Reference in a new issue