* [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages.
@ 2024-12-07 20:18 Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 1/4] gnu: Add rust-stc-s-0.1 Sharlatan Hellseher
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-12-07 20:18 UTC (permalink / raw)
To: 74729; +Cc: Sharlatan Hellseher, Efraim Flashner
Hi Guix,
During monthly refresh of Asto packages I've faced with some Rust dependencies
requiring for Python project <https://github.com/cds-astro/mocpy> which I'd
like to submit separately.
Hope the seriase looks correct.
P.S. #:skip-build? flag would be nice implement in go-build-system!
Sharlatan Hellseher (4):
gnu: Add rust-stc-s-0.1.
gnu: Add rust-mapproj-0.3.
gnu: Add rust-katex-doc-0.1.
gnu: Add rust-cdshealpix-0.7.
gnu/packages/crates-io.scm | 111 +++++++++++++++++++++++++++++++++++++
1 file changed, 111 insertions(+)
base-commit: d1311555e1aa1192915af62461a38b556d2592db
--
2.46.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#74729] [PATCH 1/4] gnu: Add rust-stc-s-0.1.
2024-12-07 20:18 [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Sharlatan Hellseher
@ 2024-12-07 20:19 ` Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 2/4] gnu: Add rust-mapproj-0.3 Sharlatan Hellseher
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-12-07 20:19 UTC (permalink / raw)
To: 74729; +Cc: Sharlatan Hellseher, Efraim Flashner
* gnu/packages/crates-io.scm (rust-stc-s-0.1): New variable.
Change-Id: Ic6cb2c8f598219126a1d55ed979f42f0cca3e524
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db4edce680..3ea1f014ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45,6 +45,7 @@
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org>
;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
+;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -77928,6 +77929,30 @@ (define-public rust-stb-truetype-0.3
in @code{stb_truetype.h} from C to Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-stc-s-0.1
+ (package
+ (name "rust-stc-s")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "stc-s" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mcvhd50qqysqvd5jqd5ydjyqs3rp2x6irk518lrqn7xlx3cz04p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nom" ,rust-nom-7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/cds-astro/cds-stc-rust/")
+ (synopsis "STC-S serializer/deserializer with JSON support")
+ (description
+ "This package provides Rust implementation of a @acronym{Space-Time
+Coordinate,STC-S} serializer/deserializer with JSON support.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-std-prelude-0.2
(package
(name "rust-std-prelude")
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74729] [PATCH 2/4] gnu: Add rust-mapproj-0.3.
2024-12-07 20:18 [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 1/4] gnu: Add rust-stc-s-0.1 Sharlatan Hellseher
@ 2024-12-07 20:19 ` Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 3/4] gnu: Add rust-katex-doc-0.1 Sharlatan Hellseher
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-12-07 20:19 UTC (permalink / raw)
To: 74729; +Cc: Sharlatan Hellseher, Efraim Flashner
* gnu/packages/crates-io.scm (rust-mapproj-0.3): New variable.
Change-Id: Idf2f2cf69fdd38c7246fa49fdd61ffff450b891d
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ea1f014ad..cf5e80b44e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43470,6 +43470,25 @@ (define-public rust-maplit-1
(license (list license:asl2.0
license:expat))))
+(define-public rust-mapproj-0.3
+ (package
+ (name "rust-mapproj")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mapproj" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08wjp6vj1w2qbz769k057pdk2w8351i26xj40p8xbxjj3wli7iz3"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/cds-astro/cds-mapproj-rust/")
+ (synopsis "Map projections defined in the FITS World Coordinate System")
+ (description
+ "This package provides Implementation of (a part of) map projections
+defined in the FITS World Coordinate System (WCS).")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-markup-proc-macro-0.13
(package
(name "rust-markup-proc-macro")
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74729] [PATCH 3/4] gnu: Add rust-katex-doc-0.1.
2024-12-07 20:18 [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 1/4] gnu: Add rust-stc-s-0.1 Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 2/4] gnu: Add rust-mapproj-0.3 Sharlatan Hellseher
@ 2024-12-07 20:19 ` Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 4/4] gnu: Add rust-cdshealpix-0.7 Sharlatan Hellseher
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-12-07 20:19 UTC (permalink / raw)
To: 74729; +Cc: Sharlatan Hellseher, Efraim Flashner
* gnu/packages/crates-io.scm (rust-katex-doc-0.1): New variable.
Change-Id: I62b79193b8b7764bffeb0dba23e110a34a705416
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf5e80b44e..d2eeb5a71d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34258,6 +34258,24 @@ (define-public rust-jwalk-0.8
speed then walkdir provides a smaller and more tested single threaded implementation.")
(license license:expat)))
+(define-public rust-katex-doc-0.1
+ (package
+ (name "rust-katex-doc")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "katex-doc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fa0fi3bv9qdab0cb49q8971vszf0nzmvnvm70lns5xrpyyq0nqy"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/CAD97/katex-doc")
+ (synopsis "XaaS for KaTeX on docs.rs")
+ (description
+ "This package provides a XSS as a Service for KaTeX on docs.rs")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-koibumi-base32-0.0.2
(package
(name "rust-koibumi-base32")
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74729] [PATCH 4/4] gnu: Add rust-cdshealpix-0.7.
2024-12-07 20:18 [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Sharlatan Hellseher
` (2 preceding siblings ...)
2024-12-07 20:19 ` [bug#74729] [PATCH 3/4] gnu: Add rust-katex-doc-0.1 Sharlatan Hellseher
@ 2024-12-07 20:19 ` Sharlatan Hellseher
2024-12-08 7:58 ` [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Efraim Flashner
2024-12-08 12:00 ` bug#74729: " Sharlatan Hellseher
5 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-12-07 20:19 UTC (permalink / raw)
To: 74729; +Cc: Sharlatan Hellseher, Efraim Flashner
* gnu/packages/crates-io.scm (rust-cdshealpix-0.7): New variable.
Change-Id: Iefc7ee7018725e3072bf7696445aab20f6f9bd32
---
gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d2eeb5a71d..07893eaac7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12611,6 +12611,55 @@ (define-public rust-cc-1
(license (list license:asl2.0
license:expat))))
+(define-public rust-cdshealpix-0.7
+ (package
+ (name "rust-cdshealpix")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cdshealpix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rxg2wsrnzfhm8pid1sv22zn1cly54zdbg2ffajx0i0dvyfpm1cc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ (list "--release" "--"
+ ;; Tests can't find FITS files:
+ ;; - test/resources/skymap/skymap.fits
+ ;; - test/resources/skymap/skymap.2mass.depth6.fits
+ "--skip=tests::test_skymap_to_mom_basic"
+ "--skip=tests::test_skymap_to_mom_chi2"
+ "--skip=tests::test_mom_diff_spec"
+ "--skip=tests::test_skymap_spec")
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.21)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-colorous" ,rust-colorous-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-itertools" ,rust-itertools-0.13)
+ ("rust-katex-doc" ,rust-katex-doc-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mapproj" ,rust-mapproj-0.3)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-png" ,rust-png-0.17)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/cds-astro/cds-healpix-rust/")
+ (synopsis "HEALPix tesselation")
+ (description
+ "This library is an implementation in Rust of the HEALPix tesselation.
+This implementation has been made by the Strasbourg astronomical Data
+Centre (Centre de Données astronomique de Strasbourg,
+@url{http://cdsweb.u-strasbg.fr/,CDS}).")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-cesu8-1
(package
(name "rust-cesu8")
--
2.46.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages.
2024-12-07 20:18 [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Sharlatan Hellseher
` (3 preceding siblings ...)
2024-12-07 20:19 ` [bug#74729] [PATCH 4/4] gnu: Add rust-cdshealpix-0.7 Sharlatan Hellseher
@ 2024-12-08 7:58 ` Efraim Flashner
2024-12-08 12:00 ` bug#74729: " Sharlatan Hellseher
5 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2024-12-08 7:58 UTC (permalink / raw)
To: Sharlatan Hellseher; +Cc: 74729
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
It all looks good. Go ahead and push it to master.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#74729: [PATCH 0/4] Astro update 2024-12 - Rust packages.
2024-12-07 20:18 [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Sharlatan Hellseher
` (4 preceding siblings ...)
2024-12-08 7:58 ` [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Efraim Flashner
@ 2024-12-08 12:00 ` Sharlatan Hellseher
5 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-12-08 12:00 UTC (permalink / raw)
To: 74729-done
[-- Attachment #1: Type: text/plain, Size: 232 bytes --]
Hi,
Pushed to aster as:
8fb33f1f78 * master astro-update-rust gnu: Add rust-cdshealpix-0.7.
5d73b12e6c * gnu: Add rust-katex-doc-0.1.
9ca0540106 * gnu: Add rust-mapproj-0.3.
14f364515c * gnu: Add rust-stc-s-0.1.
--
Thanks,
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-12-08 12:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-07 20:18 [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 1/4] gnu: Add rust-stc-s-0.1 Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 2/4] gnu: Add rust-mapproj-0.3 Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 3/4] gnu: Add rust-katex-doc-0.1 Sharlatan Hellseher
2024-12-07 20:19 ` [bug#74729] [PATCH 4/4] gnu: Add rust-cdshealpix-0.7 Sharlatan Hellseher
2024-12-08 7:58 ` [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages Efraim Flashner
2024-12-08 12:00 ` bug#74729: " Sharlatan Hellseher
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).