guix-commits
[Top][All Lists]
Advanced

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

24/68: gnu: Add rust-thrift-0.17.


From: guix-commits
Subject: 24/68: gnu: Add rust-thrift-0.17.
Date: Wed, 20 Mar 2024 11:24:29 -0400 (EDT)

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

commit 08400a8c9ba2b0b687c75145304e3b3f30addeb7
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:03:31 2024 +0100

    gnu: Add rust-thrift-0.17.
    
    * gnu/packages/crates-io.scm (rust-thrift-0.17): Add variable.
    (rust-thrift-0.13): Inherit rust-thrift-0.17.
    
    Change-Id: I12e5d9216f024aefd41058681828151d481bbe63
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fe5a3dda8..2125c6668b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75419,8 +75419,34 @@ fixed set of worker threads.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-thrift-0.17
+  (package
+    (name "rust-thrift")
+    (version "0.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "thrift" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02cydaqqlp25ri19y3ixi77a7nd85fwvbfn4fp0qpakzzj2vqm3y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-integer-encoding" ,rust-integer-encoding-3)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-ordered-float" ,rust-ordered-float-2)
+                       ("rust-threadpool" ,rust-threadpool-1))))
+    (home-page "https://thrift.apache.org";)
+    (synopsis "Rust bindings for the Apache Thrift RPC system")
+    (description
+     "This package provides Rust bindings for the Apache Thrift RPC
+system.")
+    (license license:asl2.0)))
+
 (define-public rust-thrift-0.13
   (package
+    (inherit rust-thrift-0.17)
     (name "rust-thrift")
     (version "0.13.0")
     (source
@@ -75430,7 +75456,6 @@ fixed set of worker threads.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0nvbrflb5fw6hmayqppkp97dh63vs2znww92dlkcfz4laia9cv8c"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -75438,12 +75463,7 @@ fixed set of worker threads.")
         ("rust-integer-encoding" ,rust-integer-encoding-1)
         ("rust-log" ,rust-log-0.4)
         ("rust-ordered-float" ,rust-ordered-float-1)
-        ("rust-threadpool" ,rust-threadpool-1))))
-    (home-page "https://thrift.apache.org";)
-    (synopsis "Rust bindings for the Apache Thrift RPC system")
-    (description
-     "This crate provides Rust bindings for the Apache Thrift RPC system.")
-    (license license:asl2.0)))
+        ("rust-threadpool" ,rust-threadpool-1))))))
 
 (define-public rust-tikv-jemalloc-sys-0.4
   (package



reply via email to

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