From 55e1fa89f11f3dd01efff363fa9347224ebc3401 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 9 Sep 2021 19:27:57 +0300 Subject: [PATCH] gnu: Add julia-measurements. * gnu/packages/julia-xyz.scm (julia-measurements): New variable. --- gnu/packages/julia-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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 @@ (define-public julia-mbedtls 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")