~ruther/guix-local

ac1166fbdb993c29dd87f210f7933e3e54c02124 — Efraim Flashner 5 years ago 60d3484
gnu: Add julia-libsass-jll.

* gnu/packages/julia-jll.scm (julia-libsass-jll): New variable.
1 files changed, 43 insertions(+), 0 deletions(-)

M gnu/packages/julia-jll.scm
M gnu/packages/julia-jll.scm => gnu/packages/julia-jll.scm +43 -0
@@ 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")