all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: 68023@debbugs.gnu.org
Cc: me@bonfacemunyoki.com, Mathieu Othacehe <othacehe@gnu.org>,
	me@tobias.gr, lars@6xq.net, efraim@flashner.co.il,
	leo@famulari.name, vagrant@debian.org, jgart@dismail.de,
	marius@gnu.org, Lars-Dominik Braun <lars@6xq.net>,
	Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	jgart <jgart@dismail.de>
Subject: [bug#68023] [PATCH 08/13] gnu: Add python-rpds-py.
Date: Mon, 25 Dec 2023 10:09:24 +0100	[thread overview]
Message-ID: <ffbc163fb929637172337bcc5856ab4dd9704763.1703494195.git.othacehe@gnu.org> (raw)
In-Reply-To: <cover.1703494195.git.othacehe@gnu.org>

* gnu/packages/python-xyz.scm (python-rpds-py): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Change-Id: I6f4d80cc7a9a3d591fcf894375ef14e079573c0d
---
 gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cab44be011..4d3041db2c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34054,6 +34054,46 @@ (define-public python-types-orjson
 etc. to check code that uses @code{orjson}.")
     (license license:asl2.0)))
 
+(define-public python-rpds-py
+  (package
+    (name "python-rpds-py")
+    (version "0.10.6")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "rpds_py" version))
+              (sha256
+               (base32
+                "0l5slkvhq2vf64mapimmj6ginsv01mc4niyj90vvz3assq4agrac"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:imported-modules `(,@%cargo-build-system-modules
+                           ,@%pyproject-build-system-modules)
+      #:modules '((guix build cargo-build-system)
+                  ((guix build pyproject-build-system) #:prefix py:)
+                  (guix build utils))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'prepare-python-module 'build-python-module
+            (assoc-ref py:%standard-phases 'build))
+          (add-after 'build-python-module 'install-python-module
+            (assoc-ref py:%standard-phases 'install)))
+      #:cargo-inputs
+      `(("rust-archery" ,rust-archery-1)
+        ("rust-pyo3" ,rust-pyo3-0.19)
+        ("rust-rpds" ,rust-rpds-1))
+      #:install-source? #false))
+    (inputs
+     (list maturin))
+    (native-inputs
+     (list python-wrapper))
+    (home-page "https://github.com/crate-py/rpds")
+    (synopsis "Bindings to Rust rpds for persistent data structures")
+    (description "This package provides Python bindings to the Rust rpds crate
+for persistent data structures.  It was written initially to support replacing
+@code{python-pyrsistent}.")
+    (license license:expat)))
+
 (define-public python-nanoid
   ;; There are no tests on PyPi.
   (let ((commit "061f9a598f310b0e2e91b9ed6ce725a22770da64")
-- 
2.41.0





  parent reply	other threads:[~2023-12-25  9:11 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-25  9:06 [bug#68023] [PATCH 00/13] Add support for Linux `make dtbs_check` Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 01/13] gnu: dtc: Update to 1.7.0 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 02/13] gnu: python-trove-classifiers: Update to 2023.11.29 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 03/13] gnu: Add rust-unsize-1 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 04/13] gnu: Add rust-triomphe-0.1 Mathieu Othacehe
2023-12-28  7:54   ` Efraim Flashner
2023-12-25  9:09 ` [bug#68023] [PATCH 05/13] gnu: Add rust-compiletest-rs-0.10 Mathieu Othacehe
2023-12-28  7:54   ` Efraim Flashner
2023-12-25  9:09 ` [bug#68023] [PATCH 06/13] gnu: Add rust-archery-1 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 07/13] gnu: Add rust-rpds-1 Mathieu Othacehe
2023-12-25  9:09 ` Mathieu Othacehe [this message]
2023-12-25  9:09 ` [bug#68023] [PATCH 09/13] gnu: Add python-referencing Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 10/13] gnu: Add python-jsonschema-specifications Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 11/13] gnu: python-jsonschema: Update to 4.17.3 Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 12/13] gnu: Add python-dtschema Mathieu Othacehe
2023-12-25  9:09 ` [bug#68023] [PATCH 13/13] gnu: linux-libre: " Mathieu Othacehe
2023-12-28  7:54 ` [bug#68023] [PATCH 00/13] Add support for Linux `make dtbs_check` Efraim Flashner
2023-12-28  9:14   ` Mathieu Othacehe
2023-12-28 19:04 ` Leo Famulari
2023-12-28 20:00   ` Mathieu Othacehe
2023-12-29 20:04     ` Leo Famulari
2024-01-09  8:06       ` Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ffbc163fb929637172337bcc5856ab4dd9704763.1703494195.git.othacehe@gnu.org \
    --to=othacehe@gnu.org \
    --cc=68023@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=leo@famulari.name \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=me@tobias.gr \
    --cc=vagrant@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.