guix-commits
[Top][All Lists]
Advanced

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

101/330: gnu: Add rust-apache-avro-derive-0.16.


From: guix-commits
Subject: 101/330: gnu: Add rust-apache-avro-derive-0.16.
Date: Mon, 18 Mar 2024 07:15:31 -0400 (EDT)

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

commit 7297a59106f4fcc3f464cd0f0a557c7db40cd475
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:33:05 2024 +0200

    gnu: Add rust-apache-avro-derive-0.16.
    
    * gnu/packages/crates-io.scm (rust-apache-avro-derive-0.16): New
    variable.
    
    Change-Id: I9d6c4fdc08d3aaa743d1da4d6d829e192cddf5a2
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 585e8303ad..5a6839c430 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1983,6 +1983,33 @@ type.")
 each type.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-apache-avro-derive-0.16
+  (package
+    (name "rust-apache-avro-derive")
+    (version "0.16.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "apache-avro-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "192wmrzjz1bwfiwv11979kk3dl51q50vgppn2iyph8v9048y85z3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; use of undeclared crate or module `apache_avro`
+       #:cargo-inputs (("rust-darling" ,rust-darling-0.20)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)
+                                   ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/apache/avro";)
+    (synopsis "Library for deriving Avro schemata from Rust structs and enums")
+    (description "This package provides a library for deriving Avro schemata
+from Rust structs and enums.")
+    (license license:asl2.0)))
+
 (define-public rust-apache-avro-test-helper-0.16
   (package
     (name "rust-apache-avro-test-helper")



reply via email to

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