unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH v3 06/16] gnu: Add perl-net-patricia.
Date: Thu, 28 Jul 2016 13:14:14 +0200	[thread overview]
Message-ID: <20160728131414.0bcc6d23@scratchpost.org> (raw)
In-Reply-To: <20160728130126.12fda106@scratchpost.org>

gnu: Add perl-net-patricia.

* gnu/packages/networking.scm (perl-net-patricia): Add variable.
---
 gnu/packages/networking.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index b575fce..0312fe5 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -535,3 +535,34 @@ offline emulation of DNS.")
     "Manages IPv4 and IPv6 addresses and subnets")
   (description "NetAddr::IP manages IPv4 and IPv6 addresses and subsets.")
   (license (package-license perl))))
+
+;; Maybe makes sense to add patricialib dependency (it's bundled right now).
+;; See <http://www.mrtd.net/> for the original package it was extracted from.
+;; However, the site above doesn't actually work on my computer.
+(define-public perl-net-patricia
+ (package
+  (name "perl-net-patricia")
+  (version "1.22")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append
+             "mirror://cpan/authors/id/G/GR/GRUBER/Net-Patricia-"
+             version
+             ".tar.gz"))
+      (sha256
+        (base32
+          "0ln5f57vc8388kyh9vhx2infrdzfhbpgyby74h1qsnhwds95m0vh"))))
+  (build-system perl-build-system)
+  (inputs
+    `(("perl-net-cidr-lite" ,perl-net-cidr-lite)
+      ("perl-socket6" ,perl-socket6)))
+  (home-page
+    "http://search.cpan.org/dist/Net-Patricia")
+  (synopsis
+    "Patricia Trie Perl module for fast IP address lookups")
+  (description
+    "Net::Patricia does IP address lookups quickly in Perl.")
+  ;; The bindings are licensed under GPL2 or later.
+  ;; libpatricia is licensed under 2-clause BSD.
+  (license (list license:gpl2+ license:bsd-2))))

      parent reply	other threads:[~2016-07-28 11:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28 11:01 [PATCH v3 00/16] Add missing dependencies of Spamassassin Danny Milosavljevic
2016-07-28 11:03 ` [PATCH v3 01/16] gnu: Add perl-db-file Danny Milosavljevic
2016-07-28 11:04 ` [PATCH v3 02/16] gnu: Add perl-net-dns Danny Milosavljevic
2016-07-28 11:04 ` [PATCH v3 03/16] gnu: Add perl-socket6 Danny Milosavljevic
2016-07-28 11:04 ` [PATCH v3 05/16] gnu: Add perl-netaddr-ip Danny Milosavljevic
2016-07-28 11:04 ` [PATCH v3 04/16] gnu: Add perl-net-dns-resolver-programmable Danny Milosavljevic
2016-07-28 11:05 ` [PATCH v3 07/16] gnu: Add perl-file-find-object Danny Milosavljevic
2016-07-28 11:05 ` [PATCH v3 09/16] gnu: Add perl-test-trailingspace Danny Milosavljevic
2016-07-28 11:05 ` [PATCH v3 11/16] gnu: Add perl-net-cidr-lite Danny Milosavljevic
2016-07-28 11:06 ` [PATCH v3 12/16] gnu: Add perl-geo-ip Danny Milosavljevic
2016-07-28 11:06 ` [PATCH v3 10/16] gnu: Add perl-encode-detect Danny Milosavljevic
2016-07-28 11:06 ` [PATCH v3 08/16] gnu: Add perl-file-find-object-rule Danny Milosavljevic
2016-07-28 11:06 ` [PATCH v3 14/16] gnu: Add perl-crypt-openssl-bignum Danny Milosavljevic
2016-07-28 11:06 ` [PATCH v3 13/16] gnu: Add perl-crypt-openssl-rsa Danny Milosavljevic
2016-07-28 11:07 ` [PATCH v3 15/16] gnu: Add perl-mail-spf Danny Milosavljevic
2016-07-28 11:07 ` [PATCH v3 16/16] gnu: Add perl-io-socket-inet6 Danny Milosavljevic
2016-07-28 11:14 ` Danny Milosavljevic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160728131414.0bcc6d23@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).