summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 03:55:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-25 09:51:58 +0200
commit3800d492caaf10b09f5d94d19025fafdb793c631 (patch)
treebffd7b0d367d4ce60d14be780bb50c15994a2a43 /gnu
parent8b2708a5660bd74a87c0247c43bdbba38632015a (diff)
gnu: Add rust-sema-0.1.
* gnu/packages/crates-io.scm (rust-sema-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7756a4d997..515a7e5e9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13432,6 +13432,38 @@ proven statistical guarantees.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-sema-0.1
+ (package
+ (name "rust-sema")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sema" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ckq33sg84785p195m54h03jcn7fai8w08hjnb94nzaakgzibbz3"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("libc.*") "libc = \"0.2\"\n"))
+ #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `( #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.3)
+ ("rust-time" ,rust-time-0.1))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nix" ,rust-nix-0.15))))
+ (home-page "https://github.com/cpjreynolds/sema")
+ (synopsis "Rust semaphore library")
+ (description "Rust semaphore library.")
+ (license license:expat)))
+
(define-public rust-semver-0.9
(package
(name "rust-semver")