Subject: [PATCH 83/87] gnu: Add rust-public-api-0.32.0.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:40:21 +0100

* gnu/packages/crates-io.scm (rust-public-api-0.32): New variable.

Change-Id: Icb386411653902118156ec08e2b767244ff46481
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9513becd3..4a0f3f97f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51269,6 +51269,41 @@ (define-public rust-public-api-0.33
 output from the nightly toolchain.")
     (license license:expat)))
 
+(define-public rust-public-api-0.32
+  (package
+    (name "rust-public-api")
+    (version "0.32.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "public-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02wpk9j21fxjf5is5jpkq00cl7vvpnkib1l72v7wylkw8ah5rgfq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs (("rust-hashbag" ,rust-hashbag-0.1)
+                       ("rust-rustdoc-types" ,rust-rustdoc-types-0.23)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+                                   ("rust-assert-cmd" ,rust-assert-cmd-2)
+                                   ("rust-expect-test" ,rust-expect-test-1)
+                                   ("rust-itertools" ,rust-itertools-0.11)
+                                   ("rust-predicates" ,rust-predicates-3)
+                                   ("rust-rustdoc-json" ,rust-rustdoc-json-0.8)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page
+     "https://github.com/Enselic/cargo-public-api/tree/main/public-api")
+    (synopsis
+     "list diff public API of Rust library crates")
+    (description
+     "List and diff the public API of Rust library crates.  Relies on rustdoc JSON
+output from the nightly toolchain.")
+    (license license:expat)))
+
 (define-public rust-puffin-0.18
   (package
     (name "rust-puffin")
-- 
2.41.0