diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-08-26 10:46:48 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-08-26 14:24:59 +0200 |
commit | ec51a9845deb9707a6404c91facb3da215e8a4ec (patch) | |
tree | f61c3598bc777455f3ab04504f1d056550d7ac9c | |
parent | 60f6e97dd9c56aad357a4441b200ce6a9d41b451 (diff) |
gnu: Add rust-fd-lock-3.
* gnu/packages/crates-io.scm (rust-fd-lock-3): New variable.
(rust-fd-lock-2): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e4cd61587e..5b8d163bef 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15890,22 +15890,23 @@ floats.") "This package provides a simple and fast random number generator.") (license (list license:asl2.0 license:expat)))) -(define-public rust-fd-lock-2 +(define-public rust-fd-lock-3 (package (name "rust-fd-lock") - (version "2.0.0") + (version "3.0.0") (source (origin (method url-fetch) (uri (crate-uri "fd-lock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01kzrikg3a60lxmr0k8bbm4nggh6693f1pf530ip136qzwpg0400")))) + (base32 "0dif8wk9xrqkjyfgqqy3zfg4ckmkpyzzk5p5m01s99q63bcnv05q")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) + (("rust-cfg-if" ,rust-cfg-if-1) + ("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") @@ -15914,6 +15915,24 @@ floats.") it.") (license (list license:expat license:asl2.0)))) +(define-public rust-fd-lock-2 + (package + (inherit rust-fd-lock-3) + (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")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-femme-2 (package (name "rust-femme") |