summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-10-30 22:52:37 -0400
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:25 +0200
commit91d150a65802382cfd0d35525e9d75d7f4ebd0dd (patch)
tree78b54205b0990a723bba3428b924bea3dcadaaf9
parent001c74ba15bc123acdfe773f711cd629721eace1 (diff)
gnu: Add rust-neli-0.5.
* gnu/packages/crates-io.scm (rust-neli-0.5): New variable. (rust-neli-0.4): Inherit from rust-neli-0.5. Change-Id: I074c250c39d9886e2afd19485090b7c61ab08f8d Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c01196590a..0362e8c974 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47828,8 +47828,35 @@ general elements and for numerics.")
processing library for Rust.")
(license license:expat)))
+(define-public rust-neli-0.5
+ (package
+ (name "rust-neli")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "neli" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "020m4axf6dd05i9l3lyhspp71s5xcmlj1cfskh6y3dywnm75alwh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-simple-logger" ,rust-simple-logger-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/jbaublitz/neli")
+ (synopsis "Type safe netlink library written in Rust")
+ (description
+ "This crate is a type safe netlink library written in Rust.")
+ (license license:bsd-3)))
+
(define-public rust-neli-0.4
(package
+ (inherit rust-neli-0.5)
(name "rust-neli")
(version "0.4.4")
(source
@@ -47839,7 +47866,6 @@ processing library for Rust.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1lxnns9vfrsiwksscjgr7yvgpc5658lw07d745ir37r5pn19fpp8"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -47847,12 +47873,7 @@ processing library for Rust.")
("rust-byteorder" ,rust-byteorder-1)
("rust-libc" ,rust-libc-0.2)
("rust-mio" ,rust-mio-0.6)
- ("rust-tokio" ,rust-tokio-0.1))))
- (home-page "https://github.com/jbaublitz/neli")
- (synopsis "Type safe netlink library written in Rust")
- (description
- "This crate is a type safe netlink library written in Rust.")
- (license license:bsd-3)))
+ ("rust-tokio" ,rust-tokio-0.1))))))
(define-public rust-neso-0.5
(package