gnu: Add rust-fslock.

* gnu/packages/crates-io.scm (rust-fslock-0.2): New variable.
This commit is contained in:
Marius Bakke 2022-07-25 16:10:38 +02:00
parent df17c1aeb0
commit ead1112bb9
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -23054,6 +23054,27 @@ (define-public rust-fsevent-sys-2
`(#: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")