diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-30 16:01:29 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:21:28 +0200 |
commit | d6b74ec1f3caf16dea26fe4f05eec6db6267d839 (patch) | |
tree | 3f8c7ee6bb8d10cb4fbcbe7175ea24541cbab525 | |
parent | cc08227eeef7990bf45e800e110287303c04ddac (diff) | |
download | guix-d6b74ec1f3caf16dea26fe4f05eec6db6267d839.tar.gz guix-d6b74ec1f3caf16dea26fe4f05eec6db6267d839.zip |
gnu: Add rust-pep508-rs-0.6.
* gnu/packages/crates-io.scm (rust-pep508-rs-0.6): New variable.
(rust-pep508-rs-0.2): Inherit from rust-pep508-rs-0.6.
Change-Id: I910d75b0e1ae9cc9dd83107715fc4c894d854877
-rw-r--r-- | gnu/packages/crates-io.scm | 51 |
1 files changed, 42 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c35d6051bf..dc266a95a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -55215,8 +55215,49 @@ implementing PEP 440.") #:cargo-development-inputs (("rust-indoc" ,rust-indoc-2)))))) ;; Should be the same rust-pyo3 version as cargo-input rust-pep440-rs. +(define-public rust-pep508-rs-0.6 + (package + (name "rust-pep508-rs") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pep508_rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y99l63mi09vkl7b7qzdw5gn8kpq6kj26c9k280cik4rk947g21z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-derivative" ,rust-derivative-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pep440-rs" ,rust-pep440-rs-0.6) + ("rust-pyo3" ,rust-pyo3-0.22) + ("rust-pyo3-log" ,rust-pyo3-log-0.11) + ("rust-regex" ,rust-regex-1) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-url" ,rust-url-2) + ("rust-urlencoding" ,rust-urlencoding-2)) + #:cargo-development-inputs + (("rust-indoc" ,rust-indoc-2) + ("rust-log" ,rust-log-0.4) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-testing-logger" ,rust-testing-logger-0.1)))) + (home-page "https://github.com/konstin/pep508_rs") + (synopsis + "Library for python dependency specifiers, better known as PEP 508") + (description + "This package provides a library for python dependency specifiers, better +known as PEP 508.") + (license (list license:asl2.0 license:bsd-2)))) + (define-public rust-pep508-rs-0.2 (package + (inherit rust-pep508-rs-0.6) (name "rust-pep508-rs") (version "0.2.1") (source (origin @@ -55226,7 +55267,6 @@ implementing PEP 440.") (sha256 (base32 "1qjkhh89xhjwhpjz2ppk5lp3mdm464gqx8sh9iyjpjk1p1xkswf0")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -55246,14 +55286,7 @@ implementing PEP 440.") (("rust-indoc" ,rust-indoc-2) ("rust-log" ,rust-log-0.4) ("rust-serde-json" ,rust-serde-json-1) - ("rust-testing-logger" ,rust-testing-logger-0.1)))) - (home-page "https://github.com/konstin/pep508_rs") - (synopsis - "Library for python dependency specifiers, better known as PEP 508") - (description - "This package provides a library for python dependency specifiers, better -known as PEP 508.") - (license (list license:asl2.0 license:bsd-2)))) + ("rust-testing-logger" ,rust-testing-logger-0.1)))))) (define-public rust-percent-encoding-2 (package |