GNU bug report logs -
#58465
[PATCH] gnu: Add guile-dns.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Wed, 12 Oct 2022 09:49:01 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/guile-xyz.scm (guile-dns): New variable.
---
gnu/packages/guile-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 379d9aa264..b7909e8f8d 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4426,6 +4426,42 @@ (define-public guile-avahi
(home-page "https://www.nongnu.org/guile-avahi/")
(license license:lgpl3+))))
+(define-public guile-dns
+ (package
+ (name "guile-dns")
+ (version "0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.lysator.liu.se/hugo/guile-dns")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18skivracv6jh1zab9dknkcpbizc416n0pb2mcwb20dpzc2md9yf"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags #~(list (string-append "PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'prefer-curdir
+ (lambda _
+ ;; CURDIR is a standard GNU Make variable. Prefer it to
+ ;; PWD. PWD is set by the shell and is absent in the build
+ ;; process.
+ (substitute* "Makefile"
+ (("PWD") "CURDIR"))))
+ (delete 'configure))))
+ (inputs
+ (list guile-3.0))
+ (native-inputs
+ (list texinfo))
+ (home-page "https://git.lysator.liu.se/hugo/guile-dns")
+ (synopsis "Guile DNS library")
+ (description "@code{guile-dns} is a DNS library written in pure Guile
+Scheme.")
+ (license license:gpl3+)))
+
(define-public guile-jwt
(package
(name "guile-jwt")
--
2.37.3
This bug report was last modified 2 years and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.