aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMilkey Mouse <milkeymouse@meme.institute>2021-08-31 20:54:20 -0700
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-07 22:01:16 +0200
commit9efc34a482e88d56c74df634f13b1ee7c79823fa (patch)
tree953574904e793cdc36d46513dfce1947118f4ad2 /gnu
parent73fa0b378ca8b96f48b884d9bb37efef827a5816 (diff)
downloadguix-9efc34a482e88d56c74df634f13b1ee7c79823fa.tar.gz
guix-9efc34a482e88d56c74df634f13b1ee7c79823fa.zip
gnu: Add rust-dhcp4r-0.2.
* gnu/packages/crates-io.scm (rust-dhcp4r-0.2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f449e673ba..8a469785d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13347,6 +13347,33 @@ procedural macros")
procedural macros.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dhcp4r-0.2
+ (package
+ (name "rust-dhcp4r")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dhcp4r" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0paq13i9iz5545f5aw8ijxflw20fvb3k8s4m3inr5q19q5rirpbc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2)
+ ("rust-nom" ,rust-nom-6)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-time" ,rust-time-0.2))))
+ (home-page "https://github.com/krolaw/dhcp4r")
+ (synopsis "IPv4 DHCP library with working server example.")
+ (description
+ "This package provides a library for IPv4 DHCP including a working server
+example.")
+ (license license:bsd-3)))
+
(define-public rust-dialoguer-0.6
(package
(name "rust-dialoguer")