From 2fe473a5aff2e906bc7af0211d35e2d0ba792388 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 17 Aug 2022 21:57:28 +0200 Subject: gnu: Add rust-python3-dll-a. * gnu/packages/crates-io.scm (rust-python3-dll-a-0.2): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6afcfb74fc..1968ed24a7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46449,6 +46449,28 @@ 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-python3-dll-a-0.2 + (package + (name "rust-python3-dll-a") + (version "0.2.5") + (source (origin + (method url-fetch) + (uri (crate-uri "python3-dll-a" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01k2nf4wq4f4xnaq3fy1gx12v10pndwmdrjq4x4pshhjxxnrpml9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;Windows-like targets only + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/pyo3/python3-dll-a") + (synopsis "Python import library generator") + (description + "This crate generates import libraries for the Python shared library +for MinGW-w64 and MSVC (cross-)compile targets.") + (license license:expat))) + (define-public rust-qstring-0.7 (package (name "rust-qstring") -- cgit v1.3