me
/
guix
Archived
1
0
Fork 0

gnu: Add guile-avahi.

* gnu/packages/guile-xyz.scm (guile-avahi): New variable.
Mathieu Othacehe 2020-10-26 17:45:03 +01:00
parent 952c62762d
commit 465a951c24
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 38 additions and 0 deletions

View File

@ -53,6 +53,7 @@
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
#:use-module (gnu packages aspell) #:use-module (gnu packages aspell)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages avahi)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
@ -4006,3 +4007,40 @@ features not found in the standard read procedure such as a compatible mode
with support for other RnRS standards and a tolerant mode that continues on with support for other RnRS standards and a tolerant mode that continues on
errors.") errors.")
(license license:expat))) (license license:expat)))
(define-public guile-avahi
(package
(name "guile-avahi")
(version "0.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "git://git.sv.gnu.org/guile-avahi.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1m286ggy3qs4fkhk5c01p21ghkslgksjsncaky0z037m9qqn06fn"))
(modules '((guix build utils)))))
(build-system gnu-build-system)
(arguments
'(#:make-flags
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
(inputs
`(("guile" ,guile-3.0)
("avahi" ,avahi)))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("gettext" ,gnu-gettext)
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)))
(synopsis "Guile bindings to Avahi")
(description
"This package provides bindings for Avahi. It allows programmers to use
functionalities of the Avahi client library from Guile Scheme programs. Avahi
itself is an implementation of multicast DNS (mDNS) and DNS Service
Discovery (DNS-SD).")
(home-page "https://www.nongnu.org/guile-avahi/")
(license license:lgpl3+)))