GNU bug report logs - #74729
[PATCH 0/4] Astro update 2024-12 - Rust packages.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sat, 7 Dec 2024 20:19:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74729 in the body.
You can then email your comments to 74729 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#74729; Package guix-patches. (Sat, 07 Dec 2024 20:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
New bug report received and forwarded. Copy sent to efraim <at> flashner.co.il, guix-patches <at> gnu.org. (Sat, 07 Dec 2024 20:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 0/4] Astro update 2024-12 - Rust packages.
Date: Sat,  7 Dec 2024 20:18:16 +0000
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





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#74729; Package guix-patches. (Sat, 07 Dec 2024 20:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 74729 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74729 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 1/4] gnu: Add rust-stc-s-0.1.
Date: Sat,  7 Dec 2024 20:19:47 +0000
* 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 <at> ieee.org>
 ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
 ;;; Copyright © 2024 Jordan Moore <lockbox <at> struct.foo>
+;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> 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





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#74729; Package guix-patches. (Sat, 07 Dec 2024 20:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 74729 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74729 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 2/4] gnu: Add rust-mapproj-0.3.
Date: Sat,  7 Dec 2024 20:19:48 +0000
* 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





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#74729; Package guix-patches. (Sat, 07 Dec 2024 20:22:02 GMT) Full text and rfc822 format available.

Message #14 received at 74729 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74729 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 3/4] gnu: Add rust-katex-doc-0.1.
Date: Sat,  7 Dec 2024 20:19:49 +0000
* 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





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#74729; Package guix-patches. (Sat, 07 Dec 2024 20:22:03 GMT) Full text and rfc822 format available.

Message #17 received at 74729 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74729 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 4/4] gnu: Add rust-cdshealpix-0.7.
Date: Sat,  7 Dec 2024 20:19:50 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#74729; Package guix-patches. (Sun, 08 Dec 2024 08:00:01 GMT) Full text and rfc822 format available.

Message #20 received at 74729 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 74729 <at> debbugs.gnu.org
Subject: Re: [bug#74729] [PATCH 0/4] Astro update 2024-12 - Rust packages.
Date: Sun, 8 Dec 2024 09:58:45 +0200
[Message part 1 (text/plain, inline)]
It all looks good. Go ahead and push it to master.

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Sun, 08 Dec 2024 12:02:02 GMT) Full text and rfc822 format available.

Notification sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
bug acknowledged by developer. (Sun, 08 Dec 2024 12:02:02 GMT) Full text and rfc822 format available.

Message #25 received at 74729-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74729-done <at> debbugs.gnu.org
Subject: [PATCH 0/4] Astro update 2024-12 - Rust packages.
Date: Sun, 08 Dec 2024 12:00:36 +0000
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 Jan 2025 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.