guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

301/373: gnu: Add rust-libmdns-0.6.


From: guix-commits
Subject: 301/373: gnu: Add rust-libmdns-0.6.
Date: Sun, 16 Apr 2023 07:11:30 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 5ec9f9be02e3a9119623ca260865c2a8e6542b4d
Author: Steve George <steve@futurile.net>
AuthorDate: Thu Feb 23 08:42:40 2023 +0000

    gnu: Add rust-libmdns-0.6.
    
    * gnu/packages/crates-io.scm (rust-libmdns-0.6): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 323446371f..e2c2b11458 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31903,6 +31903,39 @@ functions and static variables these libraries 
contain.")
 allocator.")
     (license license:expat)))
 
+(define-public rust-libmdns-0.6
+  (package
+    (name "rust-libmdns")
+    (version "0.6.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libmdns" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-hostname" ,rust-hostname-0.3)
+        ("rust-if-addrs" ,rust-if-addrs-0.6)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-multimap" ,rust-multimap-0.8)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-socket2" ,rust-socket2-0.4)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.8))))
+    (home-page "https://github.com/librespot-org/libmdns";)
+    (synopsis "DNS-SD and mDNS library for building discoverable LAN services")
+    (description "A Multi-Cast DNS (RFC 6762) and DNS Service Discovery
+(RFC 6763) library.  Used for resolution of hostnames to IP addresses on
+networks that do not have a local name server.  Network services can be
+advertised and discovered using this mechanism.")
+    (license license:expat)))
+
 (define-public rust-libnghttp2-sys-0.1
   (package
     (name "rust-libnghttp2-sys")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]