guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: Add julia-iocapture.


From: guix-commits
Subject: 03/06: gnu: Add julia-iocapture.
Date: Sun, 16 May 2021 11:04:32 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit fcc93efc565b85280c9ea6a531f9cd38eb5ddea7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 16 16:35:22 2021 +0300

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

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index fe16d85..68ec6d8 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -790,6 +790,27 @@ implementing both a client and a server.")
 interfaces with @file{.ini} files.")
     (license license:expat)))
 
+(define-public julia-iocapture
+  (package
+    (name "julia-iocapture")
+    (version "0.2.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaDocs/IOCapture.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0ajlfh8f1g23bx5f8h70nrgr0zfwxaqnpxlka8l4qhjmnfqxl43a"))))
+    (build-system julia-build-system)
+    (home-page "https://github.com/JuliaDocs/IOCapture.jl";)
+    (synopsis "Capture standard output and error streams")
+    (description "This package provides the @code{IOCapture.capture(f)}
+function, which captures the standard output and standard error, and returns it
+as a string together with the return value.")
+    (license license:expat)))
+
 (define-public julia-irtools
   (package
     (name "julia-irtools")



reply via email to

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