[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: Add julia-fixedpointnumbers.
From: |
guix-commits |
Subject: |
07/13: gnu: Add julia-fixedpointnumbers. |
Date: |
Sat, 30 Jan 2021 09:38:28 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 50f99cc589c439d4919add98f47dc1614faa7260
Author: nixo <nicolo@nixo.xyz>
AuthorDate: Mon Jan 18 18:25:02 2021 +0100
gnu: Add julia-fixedpointnumbers.
* gnu/packages/julia-xyz.scm (julia-fixedpointnumbers): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/julia-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index bd7802b..b28906b 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -68,6 +68,41 @@ including, @code{CircularBuffer}, @code{Queue}, @code{Stack},
@code{Accumulators}, @code{LinkedLists}, @code{SortedDicts} and many others.")
(license license:expat)))
+(define-public julia-fixedpointnumbers
+ (package
+ (name "julia-fixedpointnumbers")
+ (version "0.8.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaMath/FixedPointNumbers.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j0n40n04q9sk68wh9jq90m6c67k4ws02k41djjzkrqmpzv4rcdi"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-test
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "test/fixed.jl"
+ ;; A deprecation warning is not thrown
+ (("@test_logs.*:warn" all) (string-append "# " all)))
+ #t)))))
+ (propagated-inputs `(("julia-compat" ,julia-compat)))
+ (home-page "https://github.com/JuliaMath/FixedPointNumbers.jl")
+ (synopsis "Fixed point types for Julia")
+ (description "@code{FixedPointNumbers.jl} implements fixed-point number
+types for Julia. A fixed-point number represents a fractional, or
+non-integral, number. In contrast with the more widely known floating-point
+numbers, with fixed-point numbers the decimal point doesn't \"float\":
+fixed-point numbers are effectively integers that are interpreted as being
+scaled by a constant factor. Consequently, they have a fixed number of
+digits (bits) after the decimal (radix) point.")
+ (license license:expat)))
+
(define-public julia-orderedcollections
(package
(name "julia-orderedcollections")
- 02/13: build-system/julia: Don't rely on file name to set module name., (continued)
- 02/13: build-system/julia: Don't rely on file name to set module name., guix-commits, 2021/01/30
- 01/13: build-system/julia: Enable tests., guix-commits, 2021/01/30
- 04/13: gnu: julia-compat: Update to 3.25.0., guix-commits, 2021/01/30
- 09/13: gnu: Add julia-adapt., guix-commits, 2021/01/30
- 13/13: guix system: Test 'extension-graph' and 'shepherd-graph'., guix-commits, 2021/01/30
- 08/13: gnu: Add julia-parsers., guix-commits, 2021/01/30
- 10/13: gnu: Add julia-offsetarrays., guix-commits, 2021/01/30
- 05/13: gnu: Add julia-orderedcollections., guix-commits, 2021/01/30
- 03/13: gnu: julia-compat: Set file name according to standards., guix-commits, 2021/01/30
- 06/13: gnu: Add julia-datastructures., guix-commits, 2021/01/30
- 07/13: gnu: Add julia-fixedpointnumbers.,
guix-commits <=
- 11/13: gnu: Add julia-json., guix-commits, 2021/01/30
- 12/13: services: shepherd: Allow custom 'shepherd' package., guix-commits, 2021/01/30