guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

313/475: gnu: Add rust-pyo3-build-config-0.18.


From: guix-commits
Subject: 313/475: gnu: Add rust-pyo3-build-config-0.18.
Date: Sun, 7 May 2023 12:47:47 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit ad3474fda1cf8be5e5c555182f942d4dc32a8cad
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Mar 22 11:38:49 2023 +0100

    gnu: Add rust-pyo3-build-config-0.18.
    
    * gnu/packages/crates-io.scm (rust-pyo3-build-config-0.18): New variable.
---
 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 d4079a4c9e..42558d4cad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46048,6 +46048,31 @@ they were parsed from")
 @code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.")
     (license license:expat)))
 
+(define-public rust-pyo3-build-config-0.18
+  (package
+    (name "rust-pyo3-build-config")
+    (version "0.18.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pyo3-build-config" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zb7sz2w59ba0ipmy7saigyyr9v6pkrzqb8r5gagmp87bncryhvm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-once-cell" ,rust-once-cell-1)
+        ("rust-python3-dll-a" ,rust-python3-dll-a-0.2)
+        ("rust-target-lexicon" ,rust-target-lexicon-0.12))))
+    (native-inputs (list python))       ;for tests
+    (home-page "https://github.com/pyo3/pyo3";)
+    (synopsis "Build configuration for PyO3")
+    (description
+     "This package contains build configuration helpers for the PyO3
+ecosystem.")
+    (license license:asl2.0)))
+
 (define-public rust-pyo3-build-config-0.16
   (package
     (name "rust-pyo3-build-config")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]