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

commit 4a6966d2284d6268bc1a138b8e4ed1679a313d9d
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Dec 25 08:42:55 2024 +0200

    gnu: Add rust-subplot-0.11.
    
    * gnu/packages/crates-io.scm (rust-subplot-0.11): New variable.
    (rust-subplot-0.7): Inherit from rust-subplot-0.11.
    
    Change-Id: I41f7aa3b344097a75b882ae8a51f174e03d3094b
---
 gnu/packages/crates-io.scm | 59 +++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 51 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d9fac54ce..314313a8c1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82296,8 +82296,58 @@ easier in Rust.")
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-subplot-0.11
+  (package
+    (name "rust-subplot")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "subplot" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a1x5yxkqmhpkwakzxm1r8wsbb58xfap0mphq71pj35f7mz1b0zm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--"
+                            "--skip=diagrams::DotMarkup"
+                            "--skip=diagrams::PlantumlMarkup")
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-base64" ,rust-base64-0.22)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-env-logger" ,rust-env-logger-0.11)
+                       ("rust-file-diff" ,rust-file-diff-1)
+                       ("rust-getopts" ,rust-getopts-0.2)
+                       ("rust-git-testament" ,rust-git-testament-0.2)
+                       ("rust-html-escape" ,rust-html-escape-0.2)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-line-col" ,rust-line-col-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-marked-yaml" ,rust-marked-yaml-0.7)
+                       ("rust-pikchr" ,rust-pikchr-0.1)
+                       ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.12)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-roadmap" ,rust-roadmap-0.6)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-slug" ,rust-slug-0.1)
+                       ("rust-tempfile" ,rust-tempfile-3)
+                       ("rust-tempfile-fast" ,rust-tempfile-fast-0.3)
+                       ("rust-tera" ,rust-tera-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-walkdir" ,rust-walkdir-2))))
+    (home-page "https://subplot.tech/";)
+    (synopsis "Tools for automated acceptance tests")
+    (description
+     "This package provides tools for specifying, documenting, and implementing
+automated acceptance tests for systems and software.")
+    (license license:expat-0)))
+
 (define-public rust-subplot-0.7
   (package
+    (inherit rust-subplot-0.11)
     (name "rust-subplot")
     (version "0.7.1")
     (source (origin
@@ -82307,7 +82357,6 @@ easier in Rust.")
               (sha256
                (base32
                 "1la2vsjlxarld2w7farzlbmiy2hvascmd8bhi29ssm816m571jc8"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-test-flags
        (list "--release" "--"
@@ -82338,13 +82387,7 @@ easier in Rust.")
         ("rust-tera" ,rust-tera-1)
         ("rust-thiserror" ,rust-thiserror-1)
         ("rust-time" ,rust-time-0.3)
-        ("rust-walkdir" ,rust-walkdir-2))))
-    (home-page "https://subplot.tech/";)
-    (synopsis "Tools for automated acceptance tests")
-    (description
-     "This package provides tools for specifying, documenting, and implementing
-automated acceptance tests for systems and software.")
-    (license license:expat-0)))
+        ("rust-walkdir" ,rust-walkdir-2))))))
 
 (define-public rust-subplot-build-0.11
   (package

Reply via email to