From patchwork Tue Sep 14 13:11:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 32825 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DD97427BBE3; Tue, 14 Sep 2021 14:23:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0A2F227BBE1 for ; Tue, 14 Sep 2021 14:23:28 +0100 (BST) Received: from localhost ([::1]:53872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ8PH-0006Mx-06 for patchwork@mira.cbaines.net; Tue, 14 Sep 2021 09:23:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ8K2-00058P-BZ for guix-patches@gnu.org; Tue, 14 Sep 2021 09:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQ8K1-0001XW-Uo for guix-patches@gnu.org; Tue, 14 Sep 2021 09:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQ8K1-0002uC-Q0 for guix-patches@gnu.org; Tue, 14 Sep 2021 09:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50582] [PATCH 1/4] gnu: Add julia-libsass-jll. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 13:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50582 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50582@debbugs.gnu.org Received: via spool by 50582-submit@debbugs.gnu.org id=B50582.163162544311114 (code B ref 50582); Tue, 14 Sep 2021 13:18:01 +0000 Received: (at 50582) by debbugs.gnu.org; 14 Sep 2021 13:17:23 +0000 Received: from localhost ([127.0.0.1]:47999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ8JO-0002tA-U6 for submit@debbugs.gnu.org; Tue, 14 Sep 2021 09:17:23 -0400 Received: from flashner.co.il ([178.62.234.194]:37084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ8JN-0002sy-BC for 50582@debbugs.gnu.org; Tue, 14 Sep 2021 09:17:21 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 94B644018D for <50582@debbugs.gnu.org>; Tue, 14 Sep 2021 13:17:14 +0000 (UTC) Date: Tue, 14 Sep 2021 16:11:55 +0300 From: Efraim Flashner Message-ID: <60b1c99f84e660d692abbb480f3a1ee7f40c2a90.1631624546.git.efraim@flashner.co.il> Mail-Followup-To: Efraim Flashner , 50582@debbugs.gnu.org References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-TUID: nK5cYhPL5tsL X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-jll.scm (julia-libsass-jll): New variable. --- gnu/packages/julia-jll.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) 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") From patchwork Tue Sep 14 13:12:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 32826 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A1C2E27BBE3; Tue, 14 Sep 2021 14:36:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6A21E27BBE1 for ; Tue, 14 Sep 2021 14:36:07 +0100 (BST) Received: from localhost ([::1]:59302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ8bW-0004IT-J1 for patchwork@mira.cbaines.net; Tue, 14 Sep 2021 09:36:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ8H9-0000Lj-8v for guix-patches@gnu.org; Tue, 14 Sep 2021 09:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQ8H8-0007wJ-Hp for guix-patches@gnu.org; Tue, 14 Sep 2021 09:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQ8H8-0002pD-BU for guix-patches@gnu.org; Tue, 14 Sep 2021 09:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50582] [PATCH 2/4] gnu: Add julia-sass. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50582 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50582@debbugs.gnu.org Received: via spool by 50582-submit@debbugs.gnu.org id=B50582.163162525010777 (code B ref 50582); Tue, 14 Sep 2021 13:15:02 +0000 Received: (at 50582) by debbugs.gnu.org; 14 Sep 2021 13:14:10 +0000 Received: from localhost ([127.0.0.1]:47993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ8GI-0002nk-Dg for submit@debbugs.gnu.org; Tue, 14 Sep 2021 09:14:10 -0400 Received: from flashner.co.il ([178.62.234.194]:37064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ8GF-0002nL-8d for 50582@debbugs.gnu.org; Tue, 14 Sep 2021 09:14:09 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 765C6402FE for <50582@debbugs.gnu.org>; Tue, 14 Sep 2021 13:14:01 +0000 (UTC) Date: Tue, 14 Sep 2021 16:12:08 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , 50582@debbugs.gnu.org References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-TUID: xgLhI6GavLdc X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-xyz.scm (julia-sass): New variable. --- gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index a80964c2b0..2f953a33b7 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -3403,6 +3403,28 @@ (define-public julia-safetestsets a loadable module.") (license license:expat)))) +(define-public julia-sass + (package + (name "julia-sass") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/piever/Sass.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0y7kkkj717h5cj659ssry89i5r64symr6pvhr6vv4qmaxrnjxj92")))) + (build-system julia-build-system) + (propagated-inputs + `(("julia-libsass-jll" ,julia-libsass-jll))) + (home-page "https://github.com/piever/Sass.jl") + (synopsis "Compile scss and sass file to css in Julia") + (description "This library provides a simple Julian API to use the +@code{libsass} library to compile scss and sass files to css.") + (license license:expat))) + (define-public julia-scratch (package (name "julia-scratch") From patchwork Tue Sep 14 18:19:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 32832 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 446C127BBE4; Tue, 14 Sep 2021 19:38:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DB14C27BBE3 for ; Tue, 14 Sep 2021 19:38:31 +0100 (BST) Received: from localhost ([::1]:44482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQDKA-00010r-VV for patchwork@mira.cbaines.net; Tue, 14 Sep 2021 14:38:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQDJj-000106-1j for guix-patches@gnu.org; Tue, 14 Sep 2021 14:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQDJi-0003S7-QE for guix-patches@gnu.org; Tue, 14 Sep 2021 14:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQDJi-0007Ws-O7 for guix-patches@gnu.org; Tue, 14 Sep 2021 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50490] [PATCH 3/4] gnu: Add julia-ansicoloredprinters. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50490 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50490@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 50490-submit@debbugs.gnu.org id=B50490.163164465528899 (code B ref 50490); Tue, 14 Sep 2021 18:38:02 +0000 Received: (at 50490) by debbugs.gnu.org; 14 Sep 2021 18:37:35 +0000 Received: from localhost ([127.0.0.1]:50165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQDJG-0007W3-VC for submit@debbugs.gnu.org; Tue, 14 Sep 2021 14:37:35 -0400 Received: from flashner.co.il ([178.62.234.194]:37908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQDJF-0007Vp-2y for 50490@debbugs.gnu.org; Tue, 14 Sep 2021 14:37:33 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 3440C4035D; Tue, 14 Sep 2021 18:37:27 +0000 (UTC) From: Efraim Flashner Date: Tue, 14 Sep 2021 21:19:26 +0300 Message-Id: <0bfad7f4ecde531573c6c7cf957301ab49306876.1631624546.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.33.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-xyz.scm (julia-ansicoloredprinters): New variable. --- gnu/packages/julia-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 2f953a33b7..309687019d 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -98,6 +98,26 @@ (define-public julia-adapt be GPU compatible without throwing away the wrapper.") (license license:expat))) +(define-public julia-ansicoloredprinters + (package + (name "julia-ansicoloredprinters") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDocs/ANSIColoredPrinters.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dp5agljr0g50s5gn0pr70wrz01ggck6pb40ay3l4szhswq7mqzf")))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaDocs/ANSIColoredPrinters.jl") + (synopsis "ANSI escape code translator") + (description "@code{ANSIColoredPrinters.jl} converts a text qualified by +ANSI escape codes to another format.") + (license license:expat))) + (define-public julia-aqua (package (name "julia-aqua") From patchwork Tue Sep 14 18:19:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 32833 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 86F9727BBE3; Tue, 14 Sep 2021 19:38:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B516B27BBE1 for ; Tue, 14 Sep 2021 19:38:31 +0100 (BST) Received: from localhost ([::1]:44474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQDKA-00010O-Qv for patchwork@mira.cbaines.net; Tue, 14 Sep 2021 14:38:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQDJi-000105-Lp for guix-patches@gnu.org; Tue, 14 Sep 2021 14:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQDJi-0003RT-ED for guix-patches@gnu.org; Tue, 14 Sep 2021 14:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQDJi-0007Wk-C1 for guix-patches@gnu.org; Tue, 14 Sep 2021 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50490] [PATCH 4/4] gnu: Add julia-documenter. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50490 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50490@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 50490-submit@debbugs.gnu.org id=B50490.163164462328849 (code B ref 50490); Tue, 14 Sep 2021 18:38:02 +0000 Received: (at 50490) by debbugs.gnu.org; 14 Sep 2021 18:37:03 +0000 Received: from localhost ([127.0.0.1]:50162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQDIk-0007V9-Et for submit@debbugs.gnu.org; Tue, 14 Sep 2021 14:37:02 -0400 Received: from flashner.co.il ([178.62.234.194]:37904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQDIi-0007Ul-EE for 50490@debbugs.gnu.org; Tue, 14 Sep 2021 14:37:00 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 899174035D; Tue, 14 Sep 2021 18:36:54 +0000 (UTC) From: Efraim Flashner Date: Tue, 14 Sep 2021 21:19:27 +0300 Message-Id: X-Mailer: git-send-email 2.33.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-xyz.scm (julia-documenter, julia-documentermarkdown, julia-documentertools): New variables. (julia-documenter-0.22): New hidden variable. --- gnu/packages/julia-xyz.scm | 146 ++++++++++++++++++++++++++++++++++++- 1 file changed, 145 insertions(+), 1 deletion(-) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 309687019d..e7e7680cca 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -26,7 +26,9 @@ (define-module (gnu packages julia-xyz) #:use-module (guix git-download) #:use-module (guix build-system julia) #:use-module (gnu packages gcc) - #:use-module (gnu packages julia-jll)) + #:use-module (gnu packages julia-jll) + #:use-module (gnu packages python) + #:use-module (gnu packages version-control)) (define-public julia-abstractffts (package @@ -990,6 +992,148 @@ (define-public julia-docstringextensions valuable enough at this time.") (license license:expat))) +;; By removing all the javascript and css downloads any HTML documentation +;; produced by this package will not be very useful. +(define-public julia-documenter + (package + (name "julia-documenter") + (version "0.27.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDocs/Documenter.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1y6rql7cxc7hfhc8rfq1mdmffp70sqzyh4vnnq93fziwrc8c8sbj")))) + (build-system julia-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/Deps.jl" + (("pip install") + (string-append (assoc-ref inputs "python") + "/bin/pip install"))) + #t)) + (add-after 'unpack 'remove-javascript-downloads + (lambda _ + (substitute* "src/Writers/HTMLWriter.jl" + (("cdnjs.cloudflare.com") "example.com")) + ;; Removing the javascript downloads causes these tests fail. + (substitute* "test/examples/tests.jl" + ((".*Main\\.examples_html_doc.*") "") + ((".*Main\\.examples_html_mathjax3_doc.*") "")) + #t))))) + (propagated-inputs + `(("julia-ansicoloredprinters" ,julia-ansicoloredprinters) + ("julia-docstringextensions" ,julia-docstringextensions) + ("julia-iocapture" ,julia-iocapture) + ("julia-json" ,julia-json))) + (inputs + `(("python" ,python-wrapper))) + (native-inputs + `(("git" ,git-minimal) + ("julia-documentermarkdown" ,julia-documentermarkdown) + ("julia-documentertools" ,julia-documentertools))) + (home-page "https://juliadocs.github.io/Documenter.jl") + (synopsis "Documentation generator for Julia") + (description "This package provides a documentation generator for Julia.") + (license license:expat))) + +(define-public julia-documenter-0.22 + (package + (inherit julia-documenter) + (name "julia-documenter") + (version "0.22.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDocs/Documenter.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z8b7267y7yn5nx8sjwkmc0ph97vmv42q52jg7s89ghqb9xx3wv5")))) + (arguments + `(#:tests? #f ; Some tests require network. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-javascript-downloads + (lambda _ + ;; This isn't problematic because we only use + ;; this package for bootstrapping. + (substitute* '("assets/html/documenter.js" + "assets/html/search.js" + "src/Writers/HTMLWriter.jl") + (("cdnjs.cloudflare.com") "example.com")) + #t))))) + (propagated-inputs + `(("julia-docstringextensions" ,julia-docstringextensions) + ("julia-json" ,julia-json))) + (inputs `()) + (native-inputs `()) + (properties '((hidden? . #t))))) + +(define-public julia-documentermarkdown + (package + (name "julia-documentermarkdown") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDocs/DocumenterMarkdown.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sx89hi5p2f8zi2rp5qrv06m270d90pxj5d2y5cxls1spax7wqx8")))) + (build-system julia-build-system) + (inputs + ;; We don't want to propagate the bootstrap version. + ;; Cycle with Documenter.jl in later versions. + `(("julia-documenter" ,julia-documenter-0.22))) + (home-page "https://github.com/JuliaDocs/DocumenterMarkdown.jl") + (synopsis "Documenter's Markdown") + (description "This package enables the Markdown / MkDocs backend of +@code{Documenter.jl}.") + (license license:expat))) + +(define-public julia-documentertools + (package + (name "julia-documentertools") + (version "0.1.13") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDocs/DocumenterTools.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05p57p8xlkn42m1lv9gq4hl96vp7hpj19d51p828ai1rbpcpi3a6")))) + (build-system julia-build-system) + (arguments + `(#:tests? #f)) ; Tests require network. + (inputs + ;; We don't want to propagate the bootstrap version. + ;; Cycle with Documenter.jl in later versions. + `(("julia-documenter" ,julia-documenter-0.22))) + (propagated-inputs + `(("julia-docstringextensions" ,julia-docstringextensions) + ("julia-gumbo" ,julia-gumbo) + ("julia-sass" ,julia-sass))) + (native-inputs + `(("julia-example" ,julia-example))) + (home-page "https://github.com/JuliaDocs/DocumenterTools.jl") + (synopsis "Extra tools for setting up Documenter") + (description "This package contains utilities for setting up documentation +generation with @code{Documenter.jl}.") + (license license:expat))) + (define-public julia-diffresults (package (name "julia-diffresults")