[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/29: gnu: Add physical-quantities.
From: |
guix-commits |
Subject: |
19/29: gnu: Add physical-quantities. |
Date: |
Thu, 30 Jun 2022 14:02:16 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit a3d65bd2470c8a52ae2f40a37de91d051aef46e2
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Thu Jun 30 17:56:59 2022 +0200
gnu: Add physical-quantities.
* gnu/packages/lisp-xyz.scm (cl-physical-quantities,
ecl-physical-quantities,
sbcl-physical-quantities): New variables.
---
gnu/packages/lisp-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index a9fd0ef889..2eb960d53a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22122,3 +22122,43 @@ features. Any resemblance to esrap-liquid is merely
coincidental.")
(define-public ecl-parseq
(sbcl-package->ecl-package sbcl-parseq))
+
+(define-public sbcl-physical-quantities
+ (package
+ (name "sbcl-physical-quantities")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mrossini-ethz/physical-quantities")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "cl-physical-quantities" version))
+ (sha256
+ (base32 "0mb2s94s6fhw5vfa89naalw7ld11sdsszlqpz0c65dvpfyfmmdmh"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-parseq))
+ (home-page "https://github.com/mrossini-ethz/physical-quantities")
+ (synopsis "Numeric type with optional unit and/or uncertainty for physics")
+ (description
+ "This lisp library handles physical quantities which consist of
+
+@itemize
+@item value / magnitude
+@item uncertainty / error
+@item unit
+@end itemize
+
+where the type of the value can be any subtype of real. For the uncertainty,
+both absolute and relative values are possible. Combinations of lisp symbols
+or strings are used to describe units. User defined units including
+abbreviations and prefixes are supported. Error propagation and unit checking
+is performed for all defined operations.")
+ (license license:gpl2)))
+
+(define-public cl-physical-quantities
+ (sbcl-package->cl-source-package sbcl-physical-quantities))
+
+(define-public ecl-physical-quantities
+ (sbcl-package->ecl-package sbcl-physical-quantities))
- branch master updated (d473d8ebdb -> eac290933f), guix-commits, 2022/06/30
- 04/29: gnu: Add screamer., guix-commits, 2022/06/30
- 06/29: gnu: sbcl-cl-reexport: Update to 20210219., guix-commits, 2022/06/30
- 08/29: gnu: Add filtered-functions., guix-commits, 2022/06/30
- 10/29: gnu: Add dynamic-mixins., guix-commits, 2022/06/30
- 18/29: gnu: Add parseq., guix-commits, 2022/06/30
- 05/29: gnu: Add clache., guix-commits, 2022/06/30
- 07/29: gnu: Add cl-definitions., guix-commits, 2022/06/30
- 09/29: gnu: Add defstar., guix-commits, 2022/06/30
- 19/29: gnu: Add physical-quantities.,
guix-commits <=
- 24/29: gnu: Add glkit., guix-commits, 2022/06/30
- 01/29: gnu: Add utils-kt., guix-commits, 2022/06/30
- 02/29: gnu: Add cells., guix-commits, 2022/06/30
- 12/29: gnu: Add fast-generic-functions., guix-commits, 2022/06/30
- 14/29: gnu: Add ctype., guix-commits, 2022/06/30
- 25/29: gnu: Add cl-trees., guix-commits, 2022/06/30
- 22/29: gnu: Add mathkit., guix-commits, 2022/06/30
- 26/29: gnu: Add cl-geometry., guix-commits, 2022/06/30
- 28/29: gnu: Add cl-sdl2-ttf., guix-commits, 2022/06/30
- 29/29: gnu: Add sketch., guix-commits, 2022/06/30