guix-commits
[Top][All Lists]
Advanced

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

59/135: gnu: Add rust-public-api-0.33.


From: guix-commits
Subject: 59/135: gnu: Add rust-public-api-0.33.
Date: Wed, 27 Mar 2024 04:54:55 -0400 (EDT)

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

commit 03cf57c6d4989e4aedcb466bc21131a9a785490f
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:40:20 2024 +0100

    gnu: Add rust-public-api-0.33.
    
    * gnu/packages/crates-io.scm (rust-public-api-0.33): New variable.
    
    Change-Id: I7114dc86c5bb60142bddbc6480c29ffca9323a37
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 c8249ba31b..3b7934eab6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55076,6 +55076,41 @@ compliant email address validation.")
         ("rust-regex" ,rust-regex-1)
         ("rust-url" ,rust-url-2))))))
 
+(define-public rust-public-api-0.33
+  (package
+    (name "rust-public-api")
+    (version "0.33.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "public-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1i1qg7z96l0y5cjna6kppsvkvlpqkvmsns75zjb61jbsh3pfwndp"))))
+    (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.12)
+        ("rust-predicates" ,rust-predicates-3)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("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")



reply via email to

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