gnu: Add julia-libsass-jll.

* gnu/packages/julia-jll.scm (julia-libsass-jll): New variable.
This commit is contained in:
Efraim Flashner 2021-09-14 15:43:00 +03:00
parent 60d3484f7c
commit ac1166fbdb
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -1064,6 +1064,49 @@ from util-linux.")
(description "This package provides a wrapper for the libpng library.")
(license license:expat)))
(define-public julia-libsass-jll
(let ((commit "69bf10603aad0ebf1f6df088c5fd7c4a5d1eb0ca"))
(package
(name "julia-libsass-jll")
(version "3.5.5+0") ;tag not created upstream
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaBinaryWrappers/libsass_jll.jl")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1fb6rf422533bsmfslvc20ag1hr50bf9xaj32rvh7nv593sbiygn"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f ; no runtests.jl
#: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(\"libsass\", \""
(assoc-ref inputs "libsass") "\")\n"))))
;; There's a Julia file for each platform, override them all
(find-files "src/wrappers/" "\\.jl$"))
#t)))))
(inputs
`(("libsass" ,libsass)))
(propagated-inputs
`(("julia-jllwrappers" ,julia-jllwrappers)))
(home-page "https://github.com/JuliaBinaryWrappers/libsass_jll.jl")
(synopsis "Julia wrapper for libsass")
(description "This package provides a wrapper for libsass. It is an
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-libtiff-jll
(package
(name "julia-libtiff-jll")