unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73503] [PATCH] gnu: Add julia-statisticaltraits.
@ 2024-09-26 21:40 King, Spencer via Guix-patches via
  2024-10-25  9:57 ` bug#73503: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: King, Spencer via Guix-patches via @ 2024-09-26 21:40 UTC (permalink / raw)
  To: 73503

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-gnu-Add-julia-statisticaltraits.patch --]
[-- Type: application/octet-stream, Size: 2347 bytes --]

From 14c394318f47659ced34a0d370dbb6a4b05dae17 Mon Sep 17 00:00:00 2001
Message-Id: <14c394318f47659ced34a0d370dbb6a4b05dae17.1727386735.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Thu, 26 Sep 2024 21:37:23 +0000
Subject: [PATCH] gnu: Add julia-statisticaltraits.

* gnu/packages/julia-xyz.scm (julia-statisticaltraits): New variable.

Change-Id: I5ef338e3fcd92601e1e160d675d4bd2c4219e83f
---
 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 f0231471d8..abafed1e79 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -6055,6 +6055,37 @@ (define-public julia-staticarrayscore
 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")

base-commit: 8172b25ea22762b361b14600292c154a10579b47
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#73503: [PATCH] gnu: Add julia-statisticaltraits.
  2024-09-26 21:40 [bug#73503] [PATCH] gnu: Add julia-statisticaltraits King, Spencer via Guix-patches via
@ 2024-10-25  9:57 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-10-25  9:57 UTC (permalink / raw)
  To: King, Spencer; +Cc: 73503-done

"King, Spencer" <spencer.king@wustl.edu> skribis:

> From 14c394318f47659ced34a0d370dbb6a4b05dae17 Mon Sep 17 00:00:00 2001
> Message-Id: <14c394318f47659ced34a0d370dbb6a4b05dae17.1727386735.git.spencer.king@geneoscopy.com>
> From: Spencer King <spencer.king@geneoscopy.com>
> Date: Thu, 26 Sep 2024 21:37:23 +0000
> Subject: [PATCH] gnu: Add julia-statisticaltraits.
>
> * gnu/packages/julia-xyz.scm (julia-statisticaltraits): New variable.
>
> Change-Id: I5ef338e3fcd92601e1e160d675d4bd2c4219e83f

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-25 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26 21:40 [bug#73503] [PATCH] gnu: Add julia-statisticaltraits King, Spencer via Guix-patches via
2024-10-25  9:57 ` bug#73503: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).