gnu: Add rust-antidote.

* gnu/packages/crates-io.scm (rust-antidote): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 14:43:03 +03:00
parent 07d7175406
commit b44863d1be
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -28,6 +28,27 @@ (define-module (gnu packages crates-io)
;;; Please: Try to add new module packages in alphabetic order. ;;; Please: Try to add new module packages in alphabetic order.
;;; ;;;
(define-public rust-antidote
(package
(name "rust-antidote")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "antidote" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
(build-system cargo-build-system)
(home-page "https://github.com/sfackler/rust-antidote")
(synopsis "Poison-free Mutex and RwLock types")
(description
"These types expose identical APIs to the standard library @code{Mutex} and
@code{RwLock} except that they do not return @code{PoisonError}s.")
(license (list license:asl2.0
license:expat))))
(define-public rust-autocfg (define-public rust-autocfg
(package (package
(name "rust-autocfg") (name "rust-autocfg")