[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/23: gnu: Add rust-lock-api.
From: |
guix-commits |
Subject: |
10/23: gnu: Add rust-lock-api. |
Date: |
Tue, 17 Sep 2019 12:40:35 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit d7bec7535f67ac7432cb3f10d4b92fc21da2c8f9
Author: Efraim Flashner <address@hidden>
Date: Tue Sep 17 16:21:31 2019 +0300
gnu: Add rust-lock-api.
* gnu/packages/crates-io.scm (rust-lock-api): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 56b3f88..3cbdc66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1488,6 +1488,31 @@ allows loading dynamic libraries (also known as shared
libraries) as well as use
functions and static variables these libraries contain.")
(license license:isc)))
+(define-public rust-lock-api
+ (package
+ (name "rust-lock-api")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lock_api" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-owning-ref" ,rust-owning-ref)
+ ("rust-scopeguard" ,rust-scopeguard-0.3))))
+ (home-page "https://github.com/Amanieu/parking_lot")
+ (synopsis "Wrappers to create fully-featured Mutex and RwLock types")
+ (description
+ "This package provides wrappers to create fully-featured @code{Mutex} and
+@code{RwLock} types. It is compatible with @code{no_std}.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-log
(package
(name "rust-log")
- 22/23: gnu: Add rust-futures-core-preview., (continued)
- 22/23: gnu: Add rust-futures-core-preview., guix-commits, 2019/09/17
- 13/23: gnu: Add rust-backtrace-sys., guix-commits, 2019/09/17
- 21/23: gnu: Add rust-unreachable., guix-commits, 2019/09/17
- 18/23: gnu: Add rust-libssh2-sys., guix-commits, 2019/09/17
- 11/23: gnu: Add rust-libnghttp2-sys., guix-commits, 2019/09/17
- 16/23: gnu: Add rust-openssl-sys., guix-commits, 2019/09/17
- 17/23: gnu: Add rust-curl-sys., guix-commits, 2019/09/17
- 15/23: gnu: Add rust-openssl-src., guix-commits, 2019/09/17
- 19/23: gnu: Add rust-libgit2-sys., guix-commits, 2019/09/17
- 04/23: gnu: Add rust-strsim-0.8., guix-commits, 2019/09/17
- 10/23: gnu: Add rust-lock-api.,
guix-commits <=
- 12/23: gnu: Add rust-libz-sys., guix-commits, 2019/09/17
- 14/23: gnu: Add rust-dirs., guix-commits, 2019/09/17
- 20/23: gnu: Add rust-libgit2-sys-0.7., guix-commits, 2019/09/17
- 23/23: gnu: Add rust-futures-sink-preview., guix-commits, 2019/09/17