diff mbox series

[bug#50582] Acknowledgement ([PATCH 0/4] Julia-documenter)

Message ID YUDqmvarI8kVxZ+A@3900XT
State Accepted
Headers show
Series [bug#50582] Acknowledgement ([PATCH 0/4] Julia-documenter) | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Efraim Flashner Sept. 14, 2021, 6:31 p.m. UTC
I seem to be having a hard time sending the patches so I'm attaching
them to this email.

Comments

Simon Tournier Sept. 27, 2021, 5:15 p.m. UTC | #1
Hi Efraim,

On mar., 14 sept. 2021 at 21:31, Efraim Flashner <efraim@flashner.co.il> wrote:
> I seem to be having a hard time sending the patches so I'm attaching
> them to this email.

Are they different from the ones in patch#50490; for instance this documenter:

<http://issues.guix.gnu.org/50490#4>


Cheers,
simon
Efraim Flashner Sept. 29, 2021, 7:21 a.m. UTC | #2
On Mon, Sep 27, 2021 at 07:15:12PM +0200, zimoun wrote:
> Hi Efraim,
> 
> On mar., 14 sept. 2021 at 21:31, Efraim Flashner <efraim@flashner.co.il> wrote:
> > I seem to be having a hard time sending the patches so I'm attaching
> > them to this email.
> 
> Are they different from the ones in patch#50490; for instance this documenter:
> 
> <http://issues.guix.gnu.org/50490#4>

No, they should be the same. I just re-sent the patch files from my home
directory.
Efraim Flashner Sept. 30, 2021, 11:26 a.m. UTC | #3
Thanks for the reviews. Patches pushed!
diff mbox series

Patch

diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index d18971ad48..d3677d0a33 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -1064,6 +1064,49 @@  (define-public julia-libpng-jll
     (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")