summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <[email protected]>2023-12-24 10:01:09 +0200
committerEfraim Flashner <[email protected]>2024-02-20 13:56:37 +0200
commit99f0e81a34e8f38c75f16a02789d555582c6d3a9 (patch)
tree4a6da02a554f2c410b2545659172a084e31414b5
parent3e780e9d4ed5c15e53f39c2578ce4191183b1c45 (diff)
gnu: Add rust-python-pkginfo-0.6.
* gnu/packages/crates-io.scm (rust-python-pkginfo-0.6): New variable. (rust-python-pkginfo-0.5): Inherit from rust-python-pkginfo-0.6. Change-Id: I2d323d214320c7aa005ef63a0fb624f27b0a1463
-rw-r--r--gnu/packages/crates-io.scm39
1 files changed, 32 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57c26e41de..0d2e7c60fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60358,8 +60358,39 @@ Python code from a Rust binary is also supported.")
(description "This package provides a pyproject.toml parser in Rust.")
(license license:expat)))
+(define-public rust-python-pkginfo-0.6
+ (package
+ (name "rust-python-pkginfo")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "python-pkginfo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yjc2a1dyxwpcqc9c8hy8l8h08an3lps176nyqdqk37hck0njx03"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bzip2" ,rust-bzip2-0.4)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-fs-err" ,rust-fs-err-2)
+ ("rust-mailparse" ,rust-mailparse-0.14)
+ ("rust-rfc2047-decoder" ,rust-rfc2047-decoder-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tar" ,rust-tar-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-xz" ,rust-xz-0.1)
+ ("rust-zip" ,rust-zip-0.6))
+ #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/PyO3/python-pkginfo-rs")
+ (synopsis "Parse Python package metadata from sdist and bdists")
+ (description
+ "Parse Python package metadata from sdist and bdists and etc.")
+ (license license:expat)))
+
(define-public rust-python-pkginfo-0.5
(package
+ (inherit rust-python-pkginfo-0.6)
(name "rust-python-pkginfo")
(version "0.5.6")
(source (origin
@@ -60369,7 +60400,6 @@ Python code from a Rust binary is also supported.")
(sha256
(base32
"03hvc5h10vicfjql9dw46w0xcwq2gjm9sfbfmr13rglz1z68hfg2"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bzip2" ,rust-bzip2-0.4)
@@ -60382,12 +60412,7 @@ Python code from a Rust binary is also supported.")
("rust-thiserror" ,rust-thiserror-1)
("rust-xz" ,rust-xz-0.1)
("rust-zip" ,rust-zip-0.6))
- #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/PyO3/python-pkginfo-rs")
- (synopsis "Parse Python package metadata from sdist and bdists")
- (description
- "Parse Python package metadata from sdist and bdists and etc.")
- (license license:expat)))
+ #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-python3-dll-a-0.2
(package