summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-02-23 08:42:37 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:24 +0300
commitb079d483ff56dfc2ec311b6cd2d3565ece097b5e (patch)
treef031bc16d243764380bf2f8ed0b37515dc09d0e0 /gnu
parent36c12e77803b514c1124ed3be64c9a200959a687 (diff)
downloadguix-b079d483ff56dfc2ec311b6cd2d3565ece097b5e.tar.gz
gnu: Add rust-dns-sd-0.1.
* gnu/packages/crates-io.scm (rust-dns-sd-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3746444036..0076008a9a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58,6 +58,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages avahi)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
@@ -18604,6 +18605,29 @@ a vector.")
 not support network, only raw protocol parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-dns-sd-0.1
+  (package
+    (name "rust-dns-sd")
+    (version "0.1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "dns-sd" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "11r0jymjshfnn3sh2nqjhrikk4r5rr1g36sip9iqy8i0xafm0j6p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (inputs (list avahi))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/plietar/rust-dns-sd")
+    (synopsis "Rust binding for DNS-SD")
+    (description "Rust bindings for DNS Service Discovery (DNS-SD).")
+    (license license:expat)))
+
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")