unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add perl-net-dns.
@ 2016-07-26 20:32 Danny Milosavljevic
  2016-07-28  9:00 ` ng0
  2016-07-28 11:20 ` Danny Milosavljevic
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2016-07-26 20:32 UTC (permalink / raw)
  To: guix-devel

From: Danny Milosavljevic <dannym@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)))

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add perl-net-dns.
  2016-07-26 20:32 [PATCH] gnu: Add perl-net-dns Danny Milosavljevic
@ 2016-07-28  9:00 ` ng0
  2016-07-28 11:20 ` Danny Milosavljevic
  1 sibling, 0 replies; 3+ messages in thread
From: ng0 @ 2016-07-28  9:00 UTC (permalink / raw)
  To: Danny Milosavljevic, guix-devel

Hi,

I wanted to apply and test this on latest master but it fails on line
29. of networking.scm. Can you rebase this?

Danny Milosavljevic <dannym+a@scratchpost.org> writes:

> From: Danny Milosavljevic <dannym@scratchpost.org>
>
> * gnu/packages/networking.scm (perl-net-dns): New variable.

Could you fix this commit message to:

gnu: Add perl-net-dns.

* 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)))
>

-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add perl-net-dns.
  2016-07-26 20:32 [PATCH] gnu: Add perl-net-dns Danny Milosavljevic
  2016-07-28  9:00 ` ng0
@ 2016-07-28 11:20 ` Danny Milosavljevic
  1 sibling, 0 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2016-07-28 11:20 UTC (permalink / raw)
  To: guix-devel

Obsolete

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-28 11:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-26 20:32 [PATCH] gnu: Add perl-net-dns Danny Milosavljevic
2016-07-28  9:00 ` ng0
2016-07-28 11:20 ` Danny Milosavljevic

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).