mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: julia-libpng-jll: Move to (gnu packages julia-jll).
* gnu/packages/julia-xyz.scm (julia-libpng-jll): Move to ... * gnu/packages/julia-jll.scm: ... here.
This commit is contained in:
parent
4a1d456a99
commit
8ca2dc09b7
2 changed files with 37 additions and 38 deletions
|
@ -197,6 +197,43 @@ used in autogenerated packages via @code{BinaryBuilder.jl}.")
|
||||||
(description "This package provides a wrapper for the libjpeg-turbo library.")
|
(description "This package provides a wrapper for the libjpeg-turbo library.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public julia-libpng-jll
|
||||||
|
(package
|
||||||
|
(name "julia-libpng-jll")
|
||||||
|
(version "1.6.37+5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/JuliaBinaryWrappers/LibPNG_jll.jl")
|
||||||
|
(commit (string-append "libpng-v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "10azxv26j8r193dg9i9x7ajm3frhwbhj8zzi40fj59fxm81xz6dx"))))
|
||||||
|
(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
|
||||||
|
(("artifact\"libpng\"")
|
||||||
|
(string-append "\"" (assoc-ref inputs "libpng") "\""))))
|
||||||
|
;; There's a Julia file for each platform, override them all
|
||||||
|
(find-files "src/wrappers/" "\\.jl$")))))))
|
||||||
|
(inputs
|
||||||
|
`(("libpng" ,libpng)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("julia-jllwrappers" ,julia-jllwrappers)
|
||||||
|
("julia-zlib-jll" ,julia-zlib-jll)))
|
||||||
|
(home-page "https://github.com/JuliaBinaryWrappers/LibPNG_jll.jl")
|
||||||
|
(synopsis "Libpng library wrappers")
|
||||||
|
(description "This package provides a wrapper for the libpng library.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public julia-mbedtls-jll
|
(define-public julia-mbedtls-jll
|
||||||
(package
|
(package
|
||||||
(name "julia-mbedtls-jll")
|
(name "julia-mbedtls-jll")
|
||||||
|
|
|
@ -1015,44 +1015,6 @@ Cassette.")
|
||||||
and printing JSON documents.")
|
and printing JSON documents.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public julia-libpng-jll
|
|
||||||
(package
|
|
||||||
(name "julia-libpng-jll")
|
|
||||||
(version "1.6.37+5")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/JuliaBinaryWrappers/LibPNG_jll.jl")
|
|
||||||
(commit (string-append "libpng-v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"10azxv26j8r193dg9i9x7ajm3frhwbhj8zzi40fj59fxm81xz6dx"))))
|
|
||||||
(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
|
|
||||||
(("artifact\"libpng\"")
|
|
||||||
(string-append "\"" (assoc-ref inputs "libpng") "\""))))
|
|
||||||
;; There's a Julia file for each platform, override them all
|
|
||||||
(find-files "src/wrappers/" "\\.jl$")))))))
|
|
||||||
(inputs
|
|
||||||
`(("libpng" ,libpng)))
|
|
||||||
(propagated-inputs
|
|
||||||
`(("julia-jllwrappers" ,julia-jllwrappers)
|
|
||||||
("julia-zlib-jll" ,julia-zlib-jll)))
|
|
||||||
(home-page "https://github.com/JuliaBinaryWrappers/LibPNG_jll.jl")
|
|
||||||
(synopsis "Libpng library wrappers")
|
|
||||||
(description "This package provides a wrapper for the libpng library.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public julia-libtiff-jll
|
(define-public julia-libtiff-jll
|
||||||
(package
|
(package
|
||||||
(name "julia-libtiff-jll")
|
(name "julia-libtiff-jll")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue