aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
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")