me
/
guix
Archived
1
0
Fork 0

gnu: julia-zlib-jll: Move to (gnu packages julia-jll).

* gnu/packages/julia-xyz.scm (julia-zlib-jll): Move to ...
* gnu/packages/julia-jll.scm: ... here.
master
Efraim Flashner 2021-05-30 10:35:31 +03:00
parent 0083404175
commit fda20c7521
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
2 changed files with 39 additions and 39 deletions

View File

@ -25,6 +25,7 @@
#:use-module (guix utils)
#:use-module (guix build-system julia)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (gnu packages image)
#:use-module (gnu packages julia)
@ -279,3 +280,41 @@ autogenerated source package constructed using @code{BinaryBuilder.jl}. The
originating @code{build_tarballs.jl} script can be found on the community
build tree Yggdrasil.")
(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)))

View File

@ -1772,45 +1772,6 @@ useful in order to support @code{VersionNumber} comparisons applied to
archives in Julia.")
(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-zstd-jll
(package
(name "julia-zstd-jll")