summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-09-09 19:27:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-09-30 14:20:14 +0300
commit55e1fa89f11f3dd01efff363fa9347224ebc3401 (patch)
tree1d677bd1ef70254eba3c65a28c0139d49b6edd56 /gnu
parent8733d2c235bf067d9aed9a8150b49ac1e5034f75 (diff)
gnu: Add julia-measurements.
* gnu/packages/julia-xyz.scm (julia-measurements): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/julia-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 6b89f1768e..6c6dd99c1b 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2433,6 +2433,37 @@ may include other factorizations such as the LQ factorization.")
TLS} and cryptography C library for Julia.")
(license license:expat)))
+(define-public julia-measurements
+ (package
+ (name "julia-measurements")
+ (version "2.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaPhysics/Measurements.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05p3f0gr4sv4maq8cix5fi8ldq0zagswqsd43xn6fhy046f936mz"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-calculus" ,julia-calculus)
+ ("julia-recipesbase" ,julia-recipesbase)
+ ("julia-requires" ,julia-requires)))
+ (native-inputs
+ `(("julia-quadgk" ,julia-quadgk)
+ ("julia-specialfunctions" ,julia-specialfunctions)
+ ("julia-unitful" ,julia-unitful)))
+ (home-page "https://juliaphysics.github.io/Measurements.jl/stable/")
+ (synopsis "Error propagation calculator and library")
+ (description "@code{Measurements.jl} is an error propagation calculator and
+library for physical measurements. It supports real and complex numbers with
+uncertainty, arbitrary precision calculations, operations with arrays, and
+numerical integration. The linear error propagation theory is employed to
+propagate the errors.")
+ (license license:expat)))
+
(define-public julia-measures
(package
(name "julia-measures")