diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-15 12:27:14 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-16 12:47:35 +0200 |
commit | 5eb5fe9aebe84586f6f4831fed24fe93e788b3f6 (patch) | |
tree | c92c66f1909c0be43ddaf2ffc69112712a41419f | |
parent | 3bbec7052f3719060f63b8bb7b16ed8b94e64a2d (diff) | |
download | guix-5eb5fe9aebe84586f6f4831fed24fe93e788b3f6.tar guix-5eb5fe9aebe84586f6f4831fed24fe93e788b3f6.tar.gz |
gnu: Add rust-fd-lock-2.
* gnu/packages/crates-io.scm (rust-fd-lock-2): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae77982b31..9e811f30fe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15201,6 +15201,30 @@ supported in purely NFA-based implementations.") "This package provides a simple and fast random number generator.") (license (list license:asl2.0 license:expat)))) +(define-public rust-fd-lock-2 + (package + (name "rust-fd-lock") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fd-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01kzrikg3a60lxmr0k8bbm4nggh6693f1pf530ip136qzwpg0400")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/yoshuawuyts/fd-lock") + (synopsis "Advisory lock on a file") + (description + "Fd-lock provides an advisory lock on a file using a file descriptor to +it.") + (license (list license:expat license:asl2.0)))) + (define-public rust-femme-2 (package (name "rust-femme") |