unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 51305@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#51305] [PATCH 4/4] gnu: Add julia-infinity.
Date: Wed, 20 Oct 2021 15:51:04 +0300	[thread overview]
Message-ID: <73f77189e867d3146fb299a6ddc2ec5c48113d71.1634733947.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.1634733947.git.efraim@flashner.co.il>

* gnu/packages/julia-xyz.scm (julia-infinity): New variable.
---
 gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 74bec305f0..93fadf318c 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2448,6 +2448,39 @@ (define-public julia-indirectarrays
 indexed images, sometimes called \"colormap images\" or \"paletted images.\"")
     (license license:expat)))
 
+(define-public julia-infinity
+  (package
+    (name "julia-infinity")
+    (version "0.2.4")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/cjdoris/Infinity.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1941lwvrdjnrynigzixxin3chpg1ba6xplvcwc89x0f6z658hwmm"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-timezones.jl
+           (lambda _
+             (substitute* "test/runtests.jl"
+               (("using TimeZones.*") "")
+               ((".*infextendedtime.*") ""))
+             #t)))))
+    (propagated-inputs
+     `(("julia-requires" ,julia-requires)))
+    (native-inputs
+     `(("julia-compat" ,julia-compat)))
+    (home-page "https://docs.juliahub.com/Infinity/")
+    (synopsis "Representation of infinity in Julia")
+    (description "This package provides representations for infinity and
+negative infinity in Julia.")
+    (license license:expat)))
+
 (define-public julia-inifile
   (package
     (name "julia-inifile")
-- 
2.33.1





  parent reply	other threads:[~2021-10-20 12:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20 12:48 [bug#51305] [PATCH 0/4] More julia packages Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 1/4] gnu: Add julia-gr-jll Efraim Flashner
2021-10-21 13:01   ` [bug#51305] [PATCH 0/4] More julia packages zimoun
2021-10-24  6:16     ` Efraim Flashner
2021-10-24  7:54       ` zimoun
2021-10-24  8:42         ` bug#51305: " Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 2/4] gnu: Add julia-gr Efraim Flashner
2021-10-20 12:51 ` [bug#51305] [PATCH 3/4] gnu: Add julia-geometrybasics Efraim Flashner
2021-10-20 12:51 ` Efraim Flashner [this message]
2021-10-21 13:12 ` [bug#51305] [PATCH 0/4] More julia packages zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=73f77189e867d3146fb299a6ddc2ec5c48113d71.1634733947.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=51305@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).