diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-09-17 16:21:31 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-09-17 19:40:07 +0300 |
commit | d7bec7535f67ac7432cb3f10d4b92fc21da2c8f9 (patch) | |
tree | 3518e3d3e8e68619fb5228b46c0ee8fdf3874566 /gnu | |
parent | c5d250d5dcc9889b1b0405a03f35292b61c5bc74 (diff) | |
download | patches-d7bec7535f67ac7432cb3f10d4b92fc21da2c8f9.tar patches-d7bec7535f67ac7432cb3f10d4b92fc21da2c8f9.tar.gz |
gnu: Add rust-lock-api.
* gnu/packages/crates-io.scm (rust-lock-api): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 56b3f88e12..3cbdc66d3b 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") |