aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-25 16:10:38 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:24 +0200
commitead1112bb95f79e5f484dd661de0ecda8af24a33 (patch)
tree17ea0e253fecc0151f961ed39bc265d8ab96c0db /gnu/packages/crates-io.scm
parentdf17c1aeb0a45c264f6a3e603c60c5bdf705cfb3 (diff)
downloadguix-ead1112bb95f79e5f484dd661de0ecda8af24a33.tar
guix-ead1112bb95f79e5f484dd661de0ecda8af24a33.tar.gz
gnu: Add rust-fslock.
* gnu/packages/crates-io.scm (rust-fslock-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 886b1534b7..4ab639e0eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23054,6 +23054,27 @@ macOS API for file changes notifications")
`(#:skip-build? #t ; only available on macOS
#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-fslock-0.2
+ (package
+ (name "rust-fslock")
+ (version "0.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "fslock" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1yrv9j44k3njzpnh8m2jc0gr3hklzyzwfj3gmsdklbi76n4jnh84"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/brunoczim/fslock")
+ (synopsis "Lock file library")
+ (description "This package provides a library to use files as locks.")
+ (license license:expat)))
+
(define-public rust-fst-0.4
(package
(name "rust-fst")