aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2021-03-25 02:04:56 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-29 16:47:19 +0200
commita8e3be6aa124151420282d2576af916a89a1b23f (patch)
treee4ec550a89e26d658b3813238affacb717ab0de1 /gnu
parentbe8022773741b4bb7b532511774246ea6d258106 (diff)
downloadguix-a8e3be6aa124151420282d2576af916a89a1b23f.tar.gz
guix-a8e3be6aa124151420282d2576af916a89a1b23f.zip
gnu: Add julia-unitful.
* gnu/packages/julia-xyz.scm (julia-unitful): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/julia-xyz.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 45d18d028f..7a3529fe8f 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -625,3 +625,25 @@ linear algebra operations.")
working with @acronym{URIs,Uniform Resource Identifiers}, as defined in RFC
3986.")
(license license:expat)))
+
+(define-public julia-unitful
+ (package
+ (name "julia-unitful")
+ (version "1.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PainterQubits/Unitful.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0g5bhlvay9yk11c5dqwbzmb3q7lzj0cq5zchyk39d59fkvvmxvq3"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-constructionbase" ,julia-constructionbase)))
+ (home-page "https://painterqubits.github.io/Unitful.jl/stable/")
+ (synopsis "Physical units in Julia")
+ (description "This package supports SI units and also many other unit
+system.")
+ (license license:expat)))