gnu: guile-avahi: Update to 0.4.1.
* gnu/packages/guile-xyz.scm (guile-avahi): Update to 0.4.1. [arguments]: Remove.master
parent
99e255d04b
commit
2bf6a37020
|
@ -4693,60 +4693,31 @@ errors.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public guile-avahi
|
(define-public guile-avahi
|
||||||
(let ((commit "6d43caf64f672a9694bf6c98bbf7a734f17a51e8")
|
(package
|
||||||
(revision "1"))
|
(name "guile-avahi")
|
||||||
(package
|
(version "0.4.1")
|
||||||
(name "guile-avahi")
|
(source (origin
|
||||||
(version (git-version "0.4.0" revision commit))
|
(method git-fetch)
|
||||||
(source (origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://git.sv.gnu.org/git/guile-avahi.git/")
|
||||||
(uri (git-reference
|
(commit (string-append "v" version))))
|
||||||
(url "git://git.sv.gnu.org/guile-avahi.git")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"0pxdi13kr4ylpms0xyf3xwwbhg025k7a2liwnbha1gw6ls58xgv2"))))
|
||||||
(base32
|
(build-system gnu-build-system)
|
||||||
"0fvrf8x22yvc71180hd3xkhspg9yvadi0pbv8shzlsaxqncwy1m9"))
|
(inputs
|
||||||
(modules '((guix build utils)))))
|
(list guile-3.0 avahi))
|
||||||
(build-system gnu-build-system)
|
(native-inputs
|
||||||
(arguments
|
(list autoconf automake libtool pkg-config texinfo guile-3.0))
|
||||||
`(#:modules (((guix build guile-build-system)
|
(synopsis "Guile bindings to Avahi")
|
||||||
#:select (target-guile-effective-version))
|
(description
|
||||||
,@%gnu-build-system-modules)
|
"This package provides bindings for Avahi. It allows programmers to
|
||||||
#:imported-modules ((guix build guile-build-system)
|
|
||||||
,@%gnu-build-system-modules)
|
|
||||||
#:make-flags
|
|
||||||
'("GUILE_AUTO_COMPILE=0") ;to prevent guild warnings
|
|
||||||
;; Parallel builds fail on powerpc64le-linux.
|
|
||||||
;; See https://lists.nongnu.org/archive/html/guile-avahi-bugs/2021-01/msg00000.html
|
|
||||||
#:parallel-build? #f
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-before 'check 'fix-guile-avahi-file-name
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(with-directory-excursion "src"
|
|
||||||
(invoke "make" "install"
|
|
||||||
"-j" (number->string
|
|
||||||
(parallel-job-count))))
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(files (find-files "modules" ".scm")))
|
|
||||||
(substitute* files
|
|
||||||
(("\"guile-avahi-v-0\"")
|
|
||||||
(format #f "\"~a/lib/guile/~a/extensions/guile-avahi-v-0\""
|
|
||||||
out (target-guile-effective-version))))
|
|
||||||
#t))))))
|
|
||||||
(inputs
|
|
||||||
(list guile-3.0 avahi))
|
|
||||||
(native-inputs
|
|
||||||
(list autoconf automake libtool pkg-config texinfo guile-3.0))
|
|
||||||
(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.
|
use functionalities of the Avahi client library from Guile Scheme programs.
|
||||||
Avahi itself is an implementation of multicast DNS (mDNS) and DNS Service
|
Avahi itself is an implementation of multicast DNS (mDNS) and DNS Service
|
||||||
Discovery (DNS-SD).")
|
Discovery (DNS-SD).")
|
||||||
(home-page "https://www.nongnu.org/guile-avahi/")
|
(home-page "https://www.nongnu.org/guile-avahi/")
|
||||||
(license license:lgpl3+))))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
(define-public guile-dns
|
(define-public guile-dns
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue