diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-08-25 22:01:11 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-09-05 00:12:43 +0200 |
commit | c505de52d41595efeecbad9102f776f059b0507c (patch) | |
tree | 262f95ddb9ae4e72c9378e0e0fd099b205fd4e65 /gnu/packages | |
parent | fd866c44e7e50cc4d7f1116c40a3dde6a0b16137 (diff) |
gnu: Add rust-pyo3-0.13.
* gnu/packages/crates-io.scm (rust-pyo3-0.13): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f51cce7b06..70e7ffd6fb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46615,6 +46615,44 @@ creating native Python extension modules. Running and interacting with Python code from a Rust binary is also supported.") (license license:asl2.0))) +(define-public rust-pyo3-0.13 + (package + (inherit rust-pyo3-0.15) + (name "rust-pyo3") + (version "0.13.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hq965lgi25dn578fpn9hjva6zjr1c8rl7lxywijq44aw7lbhds8")))) + (arguments + `(#:skip-build? #true + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ctor" ,rust-ctor-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.9) + ("rust-indoc" ,rust-indoc-0.3) + ("rust-inventory" ,rust-inventory-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-num-bigint" ,rust-num-bigint-0.3) + ("rust-num-complex" ,rust-num-complex-0.3) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-paste" ,rust-paste-0.1) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.13) + ("rust-serde" ,rust-serde-1) + ("rust-unindent" ,rust-unindent-0.1)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-bitflags" ,rust-bitflags-1.2) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-half" ,rust-half-1) + ("rust-proptest" ,rust-proptest-0.10) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + (define-public rust-qstring-0.7 (package (name "rust-qstring") |