summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-23 18:12:15 +0100
committerMarius Bakke <marius@gnu.org>2022-01-23 19:59:09 +0100
commit567cc4ea3885b47fae10985494bee2baa477f86f (patch)
treecfdb40e7a84b2a453c3f560c4278ee7ad6f11352
parentcb82fca5de5eea04d40d73b546ad4ee01afd71dc (diff)
gnu: Add python-setuptools-rust.
* gnu/packages/python-xyz.scm (python-setuptools-rust): New variable.
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c62e3b9546..668fa4e1eb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20502,6 +20502,29 @@ belong to tagged versions.")
Git.")
(license license:bsd-3)))
+(define-public python-setuptools-rust
+ (package
+ (name "python-setuptools-rust")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "setuptools-rust" version))
+ (sha256
+ (base32 "1lb57qx1azklgzmalflq960agvwci4bwddw0zvlc9zy00fsvkbd0"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ;no tests
+ (native-inputs
+ (list python-setuptools-scm))
+ (propagated-inputs
+ (list python-semantic-version python-typing-extensions))
+ (home-page "https://github.com/PyO3/setuptools-rust")
+ (synopsis "Setuptools plugin for Rust extensions")
+ (description
+ "@code{setuptools-rust} is a plugin for @code{setuptools} to build
+Rust Python extensions implemented with @code{PyO3} or @code{rust-cpython}.")
+ (license license:expat)))
+
(define-public python-pyclipper
(package
(name "python-pyclipper")