guix-commits
[Top][All Lists]
Advanced

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

02/156: gnu: Add rust-adaptive-barrier-1.


From: guix-commits
Subject: 02/156: gnu: Add rust-adaptive-barrier-1.
Date: Tue, 24 Oct 2023 08:51:54 -0400 (EDT)

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

commit 830b0d8fc2c1f29a288a7d7d1d8bad93492d1786
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 23 18:08:54 2023 +0300

    gnu: Add rust-adaptive-barrier-1.
    
    * gnu/packages/crates-io.scm (rust-adaptive-barrier-1): New variable.
    (rust-adaptive-barrier-0.1): Inherit from rust-adaptive-barrier-1.
    
    Change-Id: If618826d44e6237e13381e0045bf4e24610baefb
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc26147157..bcb658a0e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1687,19 +1687,18 @@ Rust.")
     (inputs
      (list openssl))))
 
-(define-public rust-adaptive-barrier-0.1
+(define-public rust-adaptive-barrier-1
   (package
     (name "rust-adaptive-barrier")
-    (version "0.1.0")
+    (version "1.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "adaptive-barrier" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "003ygsiqsd85v0p846q1ym23dbp4iagn89p7k6yrvbg9di1mbjqc"))))
+        (base32 "1004swrxg9g755h0sk0y1kclk4y9hzk6dzl8772df4l4j44gqz8w"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
     (home-page "https://github.com/vorner/adaptive-barrier";)
     (synopsis "Barrier with adaptable number of thread subsciptions")
     (description
@@ -1709,6 +1708,20 @@ threads.  This makes it robust in face of panics (it 
won't make your program
 deadlock, like the standard Barrier).")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-adaptive-barrier-0.1
+  (package
+    (inherit rust-adaptive-barrier-1)
+    (name "rust-adaptive-barrier")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "adaptive-barrier" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "003ygsiqsd85v0p846q1ym23dbp4iagn89p7k6yrvbg9di1mbjqc"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-adblock-0.7
   (package
     (name "rust-adblock")



reply via email to

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