guix-commits
[Top][All Lists]
Advanced

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

13/33: gnu: Add julia-functionwrappers.


From: guix-commits
Subject: 13/33: gnu: Add julia-functionwrappers.
Date: Mon, 14 Jun 2021 07:46:20 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f9f98a2f066c5b02c14a48e0c2637d7eb4e7965d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 14 11:54:39 2021 +0300

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

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index e31b2d4..84bba85 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1296,6 +1296,34 @@ functions (or any callable object, really) using forward 
mode automatic
 differentiation (AD).")
     (license license:expat)))
 
+(define-public julia-functionwrappers
+  (package
+    (name "julia-functionwrappers")
+    (version "1.1.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/yuyichao/FunctionWrappers.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "02jilpjr7px6138dx2w7ixricvfgsxqdk84d9dgviranibhnjcxa"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'adjust-tests
+           (lambda _
+             (substitute* "test/runtests.jl"
+               (("testset \\\"Abstract.*" all)
+                (string-append all "return\n"))))))))
+    (home-page "https://github.com/yuyichao/FunctionWrappers.jl";)
+    (synopsis "Type stable and efficient wrapper of arbitrary functions")
+    (description "This package provides a type stable and efficient wrapper of
+arbitrary functions.")
+    (license license:expat)))
+
 (define-public julia-fuzzycompletions
   (package
     (name "julia-fuzzycompletions")



reply via email to

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