From: Danny Milosavljevic <dan...@scratchpost.org> * gnu/packages/networking.scm (perl-net-dns): New variable. --- gnu/packages/networking.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 9e4f7bb..a271543 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -29,6 +29,7 @@ #:use-module (guix download) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) + #:use-module (guix build-system perl) #:use-module (gnu packages admin) #:use-module (gnu packages adns) #:use-module (gnu packages audio) @@ -375,3 +376,26 @@ sniffer}, that lets you capture and interactively browse the contents of network frames.") (license license:gpl2+) (home-page "https://www.wireshark.org/"))) + +(define-public perl-net-dns + (package + (name "perl-net-dns") + (version "1.06") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NL/NLNETLABS/Net-DNS-" + version + ".tar.gz")) + (sha256 + (base32 + "07m5331132h9xkh1i6jv9d80f571yva27iqa31aq4sm31iw7nn53")))) + (build-system perl-build-system) + (inputs + `(("perl-digest-hmac" ,perl-digest-hmac))) + (home-page "http://search.cpan.org/dist/Net-DNS") + (synopsis + "Perl Interface to the Domain Name System") + (description "Net::DNS is the Perl Interface to the Domain Name System.") + (license license:x11)))