gnu: Add perl-net-dns-resolver-mock.

* gnu/packages/networking.scm (perl-net-dns-resolver-mock): New
variable.
This commit is contained in:
Julien Lepiller 2019-07-25 20:40:30 +02:00
parent f115d81748
commit ac629e625c
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 23 additions and 0 deletions

View File

@ -28,6 +28,7 @@
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;;
;;; This file is part of GNU Guix.
;;;
@ -1081,6 +1082,28 @@ definitions and structure manipulators for Perl.")
offline emulation of DNS.")
(license license:perl-license)))
(define-public perl-net-dns-resolver-mock
(package
(name "perl-net-dns-resolver-mock")
(version "1.20171219")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MB/MBRADSHAW/"
"Net-DNS-Resolver-Mock-" version ".tar.gz"))
(sha256
(base32
"0m3rxpkv1b9121srvbqkrgzg4m8mnydiydqv34in1i1ixwrl6jn9"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-net-dns" ,perl-net-dns)))
(home-page "https://metacpan.org/release/Net-DNS-Resolver-Mock")
(synopsis "Mock a DNS Resolver object for testing")
(description "Net::DNS::Resolver::Mock is a a subclass of
@code{Net::DNS::Resolver} which parses a zonefile for it's data source. It is
primarily for use in testing.")
(license license:perl-license)))
(define-public perl-netaddr-ip
(package
(name "perl-netaddr-ip")