guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

27/127: gnu: Add rust-pyproject-toml-0.8.


From: guix-commits
Subject: 27/127: gnu: Add rust-pyproject-toml-0.8.
Date: Tue, 26 Dec 2023 06:42:33 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 2f484cc8c38ed125ddb63f5983f7e5a0d0e90c53
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 24 10:01:38 2023 +0200

    gnu: Add rust-pyproject-toml-0.8.
    
    * gnu/packages/crates-io.scm (rust-pyproject-toml-0.8): New variable.
    (rust-pyproject-toml-0.6): Inherit from rust-pyproject-toml-0.8.
    
    Change-Id: Iaf7ee66364fbb360ab4c63be2c4fbfc126a032de
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f457d5dfd1..ca43979359 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60276,8 +60276,32 @@ Python code from a Rust binary is also supported.")
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-trybuild" ,rust-trybuild-1))))))
 
+(define-public rust-pyproject-toml-0.8
+  (package
+    (name "rust-pyproject-toml")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pyproject-toml" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "010fl8m9cx1a5iapcpy53dabl16ij5saa3maz0lkmwl7j7kabm26"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-pep440-rs" ,rust-pep440-rs-0.3)
+                       ("rust-pep508-rs" ,rust-pep508-rs-0.2)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-toml" ,rust-toml-0.8))))
+    (home-page "https://github.com/PyO3/pyproject-toml-rs.git";)
+    (synopsis "pyproject.toml parser in Rust")
+    (description "This package provides a pyproject.toml parser in Rust.")
+    (license license:expat)))
+
 (define-public rust-pyproject-toml-0.6
   (package
+    (inherit rust-pyproject-toml-0.8)
     (name "rust-pyproject-toml")
     (version "0.6.1")
     (source (origin
@@ -60287,18 +60311,13 @@ Python code from a Rust binary is also supported.")
               (sha256
                (base32
                 "0pywp6ml15jlv9yxfjcvrs3fgd3xnq8fc6a2wcbw9q9iknmgwygf"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-indexmap" ,rust-indexmap-1)
         ("rust-pep440-rs" ,rust-pep440-rs-0.3)
         ("rust-pep508-rs" ,rust-pep508-rs-0.2)
         ("rust-serde" ,rust-serde-1)
-        ("rust-toml" ,rust-toml-0.7))))
-    (home-page "https://github.com/PyO3/pyproject-toml-rs.git";)
-    (synopsis "pyproject.toml parser in Rust")
-    (description "This package provides a pyproject.toml parser in Rust.")
-    (license license:expat)))
+        ("rust-toml" ,rust-toml-0.7))))))
 
 (define-public rust-python-pkginfo-0.6
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]