guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/16: gnu: Add julia-ifelse.


From: guix-commits
Subject: 06/16: gnu: Add julia-ifelse.
Date: Thu, 20 May 2021 10:13:05 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 673bd9a75bd925ba9adf15ac5a07896bc2319fde
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 20 16:28:45 2021 +0300

    gnu: Add julia-ifelse.
    
    * gnu/packages/julia-xyz.scm (julia-ifelse): 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 b8fe48d..4c87adb 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -794,6 +794,26 @@ library for parsing HTML.")
 implementing both a client and a server.")
     (license license:expat)))
 
+(define-public julia-ifelse
+  (package
+    (name "julia-ifelse")
+    (version "0.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/sciml/ifelse.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1wrw842r8708fryf2ihp9mkmdrg27saa9nix2c31vs995k2fgr9w"))))
+    (build-system julia-build-system)
+    (home-page "https://github.com/sciml/ifelse.jl";)
+    (synopsis "Function form of the if-else conditional statement")
+    (description "This package provides a convenient function form of the
+conditional ifelse.  It is similar to @code{Core.ifelse} but it is 
extendable.")
+    (license license:expat)))
+
 (define-public julia-imagemagick-jll
   (package
     (name "julia-imagemagick-jll")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]