gnu: Add rust-py-literal-0.4.

* gnu/packages/crates-io.scm (rust-py-literal-0.4): New variable.

Change-Id: Ie5b845a642bf862f062d3160e856969da9b21f3a
This commit is contained in:
Ricardo Wurmus 2025-01-16 22:49:36 +01:00
parent 37036b5db5
commit 7efaff9249
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -59012,6 +59012,30 @@ (define-public rust-pwd-1
(description "This package provides a safe interface to @code{pwd.h}.")
(license license:public-domain)))
(define-public rust-py-literal-0.4
(package
(name "rust-py-literal")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "py_literal" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1qd8j3a9zlpq6rjaxabpc9sacw62dn1cr38p3y4x7fbdsjizfb8h"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-complex" ,rust-num-complex-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-pest" ,rust-pest-2)
("rust-pest-derive" ,rust-pest-derive-2))))
(home-page "https://github.com/jturner314/py_literal")
(synopsis "Read and write Python literals")
(description "This package lets you read and write Python literals.")
(license (list license:expat license:asl2.0))))
(define-public rust-pyo3-0.23
(package
(name "rust-pyo3")