aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer King <spencer.king@geneoscopy.com>2024-09-26 21:37:23 +0000
committerLudovic Courtès <ludo@gnu.org>2024-10-25 11:56:03 +0200
commit72dee8a040da0d3564148bbac6a0e221e041e010 (patch)
tree17ac641fabbac94c8668677fcb8a69a18b201418
parent38af41c4af29976e7b33ec31de8ff8d58264a763 (diff)
downloadguix-72dee8a040da0d3564148bbac6a0e221e041e010.tar
guix-72dee8a040da0d3564148bbac6a0e221e041e010.tar.gz
gnu: Add julia-statisticaltraits.
* gnu/packages/julia-xyz.scm (julia-statisticaltraits): New variable. Change-Id: I5ef338e3fcd92601e1e160d675d4bd2c4219e83f Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-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 4c9afed7ae..86318e5a8a 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -6055,6 +6055,37 @@ downstream packages to implement new methods on these types without
depending on the entirety of @code{StaticArrays.jl}.")
(license license:expat)))
+(define-public julia-statisticaltraits
+ (package
+ (name "julia-statisticaltraits")
+ (version "3.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaAI/StatisticalTraits.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1im2j3h8xlja8c4pz22xn4lgb2r7zx50284iwbl72sclhrmjzfkz"))))
+ (build-system julia-build-system)
+ (arguments
+ (list
+ #:julia-package-name "StatisticalTraits"
+ #:julia-package-uuid "64bff920-2084-43da-a3e6-9bb72801c0c9"
+ #:julia-package-dependencies
+ #~(list '("SparseArrays" . "2f01184e-e22b-5df5-ae63-d93ebab69eaf")
+ '("Test" . "8dfed614-e22c-5e08-85e1-65c5234f0b40"))))
+ (propagated-inputs (list julia-scientifictypesbase))
+ (home-page "https://github.com/JuliaAI/StatisticalTraits.jl")
+ (synopsis "Implementations of traits possessed by statistical objects")
+ (description
+ "This package provides fall-back implementations for a collection
+of traits possessed by statistical objects. A @code{trait} is a function with a single
+arguments that is a Julia type, which might encode type metadata for inspection or
+for use in function dispatch.")
+ (license license:expat)))
+
(define-public julia-statsapi
(package
(name "julia-statsapi")