guix-commits
[Top][All Lists]
Advanced

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

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


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

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

commit 9cc61b02bda8312c700784ef8c6c3fba5dd52acf
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 4243902626..f61b93dbfa 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]