guix-commits
[Top][All Lists]
Advanced

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

29/31: gnu: Add rust-critical-section-1.


From: guix-commits
Subject: 29/31: gnu: Add rust-critical-section-1.
Date: Sat, 27 Aug 2022 13:01:46 -0400 (EDT)

rekado pushed a commit to branch rekados-rust-queue
in repository guix.

commit 574dfe07a59e4202fe2583392eb689b6e4ba8375
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Aug 26 12:02:55 2022 +0200

    gnu: Add rust-critical-section-1.
    
    * gnu/packages/crates-io.scm (rust-critical-section-1): New variable.
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b789f81d6..bedb991d54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14289,6 +14289,23 @@ criterion.")
         ("rust-num-complex" ,rust-num-complex-0.2)
         ("rust-rand" ,rust-rand-0.4))))))
 
+(define-public rust-critical-section-1
+  (package
+    (name "rust-critical-section")
+    (version "1.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "critical-section" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "06p0j7yy289six3k7j3m3f1phk9n7h9x2cd8fjfbw6fhh4aaaayh"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/rust-embedded/critical-section";)
+    (synopsis "Critical section abstraction")
+    (description "This package provides a critical section abstraction.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-critical-section-0.2
   (package
     (name "rust-critical-section")



reply via email to

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