summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 00:11:58 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:16 +0100
commit3a720e6e9866c29c482f2ff7b0e71f03570ade73 (patch)
treea512d32ff2e9d5b56acc69750775ef05958ca921 /gnu/packages/crates-io.scm
parent6065b4cfa9b5e674a4e838fe472015f373dc76de (diff)
gnu: Add rust-timerfd-1.
* gnu/packages/crates-io.scm (rust-timerfd-1): 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 00eebfccf4..44b4e32716 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33307,6 +33307,27 @@ crate.")
closures after a delay or at a given timestamp.")
(license license:mpl2.0)))
+(define-public rust-timerfd-1
+ (package
+ (name "rust-timerfd")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "timerfd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14gwkm2c38bm76ccpp4g20qqs77h86d1l81594i76pb751k3xd8b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/main--/rust-timerfd")
+ (synopsis "Rust interface to the Linux kernel's @code{timerfd} API")
+ (description
+ "This package provides a Rust interface to the Linux kernel's
+@code{timerfd} API.")
+ (license license:expat)))
+
(define-public rust-tinytemplate-1
(package
(name "rust-tinytemplate")