guix-commits
[Top][All Lists]
Advanced

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

10/16: gnu: Add julia-parameters.


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

efraim pushed a commit to branch master
in repository guix.

commit dd331f491db93d2854c591bd4f9160b565671408
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 20 16:44:59 2021 +0300

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

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 72a60ad..4a4be83 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1331,6 +1331,31 @@ originating @code{build_tarballs.jl} script can be found 
on the community
 build tree Yggdrasil.")
     (license license:expat))))
 
+(define-public julia-parameters
+  (package
+    (name "julia-parameters")
+    (version "0.12.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/mauro3/Parameters.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0b8lawi7kcws4axfsdf023gyxca15irl648ciyi1kw3wghz3pfi2"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-orderedcollections" ,julia-orderedcollections)
+       ("julia-unpack" ,julia-unpack)))
+    (home-page "https://github.com/mauro3/Parameters.jl";)
+    (synopsis "Numerical-model parameter helpers")
+    (description "This package contains types with default field values, 
keyword
+constructors and (un-)pack macros.  Keyword functions can be slow in Julia,
+however, the normal positional constructor is also provided and could be used 
in
+performance critical code.")
+    (license license:expat)))
+
 (define-public julia-parsers
   (package
     (name "julia-parsers")



reply via email to

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