GNU bug report logs - #69257
[PATCH 000/228 rust-team] WIP: Add GNOME Fractal dependencies.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Sun, 18 Feb 2024 20:51:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Herman Rimm <herman <at> rimm.ee>
To: 69257 <at> debbugs.gnu.org
Cc: Herman Rimm <herman <at> rimm.ee>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#69257] [PATCH 093/228] gnu: Add rust-thrift-0.17.
Date: Sun, 18 Feb 2024 22:03:31 +0100
* gnu/packages/crates-io.scm (rust-thrift-0.17): Add variable.
(rust-thrift-0.13): Inherit rust-thrift-0.17.

Change-Id: I12e5d9216f024aefd41058681828151d481bbe63
---
 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 6d2cbff9f0..ca081eabe3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71124,8 +71124,34 @@ (define-public rust-threadpool-1
     (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
@@ -71135,7 +71161,6 @@ (define-public rust-thrift-0.13
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0nvbrflb5fw6hmayqppkp97dh63vs2znww92dlkcfz4laia9cv8c"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -71143,12 +71168,7 @@ (define-public rust-thrift-0.13
         ("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
-- 
2.41.0





This bug report was last modified 1 year and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.