guix-commits
[Top][All Lists]
Advanced

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

102/330: gnu: Add rust-apache-avro-0.16.


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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5a6839c430..e8804bc886 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1983,6 +1983,55 @@ type.")
 each type.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-apache-avro-0.16
+  (package
+    (name "rust-apache-avro")
+    (version "0.16.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "apache-avro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "180113hv4b7dw63szi5rzjb5pj8lwn5zyf8fnxq0kx7qna1wddyf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-apache-avro-derive" 
,rust-apache-avro-derive-0.16)
+                       ("rust-bzip2" ,rust-bzip2-0.4)
+                       ("rust-crc32fast" ,rust-crc32fast-1)
+                       ("rust-digest" ,rust-digest-0.10)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-libflate" ,rust-libflate-2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-num-bigint" ,rust-num-bigint-0.4)
+                       ("rust-quad-rand" ,rust-quad-rand-0.2)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-regex-lite" ,rust-regex-lite-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-snap" ,rust-snap-1)
+                       ("rust-strum" ,rust-strum-0.25)
+                       ("rust-strum-macros" ,rust-strum-macros-0.25)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-typed-builder" ,rust-typed-builder-0.16)
+                       ("rust-uuid" ,rust-uuid-1)
+                       ("rust-xz2" ,rust-xz2-0.1)
+                       ("rust-zstd" ,rust-zstd-0.12))
+       #:cargo-development-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-apache-avro-test-helper" ,rust-apache-avro-test-helper-0.16)
+        ("rust-criterion" ,rust-criterion-0.5)
+        ("rust-hex-literal" ,rust-hex-literal-0.4)
+        ("rust-md-5" ,rust-md-5-0.10)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-serial-test" ,rust-serial-test-2)
+        ("rust-sha2" ,rust-sha2-0.10))))
+    (home-page "https://github.com/apache/avro";)
+    (synopsis "Library for working with Apache Avro in Rust")
+    (description
+     "This package provides a library for working with Apache Avro in Rust.")
+    (license license:asl2.0)))
+
 (define-public rust-apache-avro-derive-0.16
   (package
     (name "rust-apache-avro-derive")



reply via email to

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