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

commit 70686606ac9c7dc70e5a402b82a80ba75eb2c968
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Dec 25 08:41:12 2024 +0200

    gnu: Add rust-subplotlib-derive-0.11.
    
    * gnu/packages/crates-io.scm (rust-subplotlib-derive-0.11): New variable.
    (rust-subplotlib-derive-0.7): Inherit from rust-subplotlib-derive-0.11.
    
    Change-Id: If4b02454de662cd0bb5d2a2e969666448afbc4ef
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 04aea4f8b4..68e645435c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82409,8 +82409,33 @@ another project's @code{build.rs} module.")
 based test suites.  Relies on @code{subplotlib-derive} for associated macros.")
     (license license:expat-0)))
 
+(define-public rust-subplotlib-derive-0.11
+  (package
+    (name "rust-subplotlib-derive")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "subplotlib-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1asg2jr85005afyj07vjc33i00z8akm15agic5rml1yzkz5lzbzy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-culpa" ,rust-culpa-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://subplot.tech/";)
+    (synopsis "Macros for constructing subplotlib based test suites")
+    (description
+     "This package provides macros for constructing subplotlib based test
+suites, typically generated by @code{subplot codegen}.")
+    (license license:expat-0)))
+
 (define-public rust-subplotlib-derive-0.7
   (package
+    (inherit rust-subplotlib-derive-0.11)
     (name "rust-subplotlib-derive")
     (version "0.7.1")
     (source (origin
@@ -82420,19 +82445,12 @@ based test suites.  Relies on 
@code{subplotlib-derive} for associated macros.")
               (sha256
                (base32
                 "11x93kzj6x5x44irkbiz1vyns9ivr7skixyd318sxa021xas16ci"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-fehler" ,rust-fehler-1)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-2))))
-    (home-page "https://subplot.tech/";)
-    (synopsis "Macros for constructing subplotlib based test suites")
-    (description
-     "This package provides macros for constructing subplotlib based test
-suites, typically generated by @code{subplot codegen}.")
-    (license license:expat-0)))
+        ("rust-syn" ,rust-syn-2))))))
 
 (define-public rust-subprocess-0.2
   (package

Reply via email to