[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 06/16] gnu: Add perl-net-patricia.
From: |
Danny Milosavljevic |
Subject: |
[PATCH v4 06/16] gnu: Add perl-net-patricia. |
Date: |
Thu, 28 Jul 2016 13:22:46 +0200 |
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))))
- Re: [PATCH v4 15/16] gnu: Add perl-mail-spf., (continued)
- [PATCH v4 14/16] gnu: Add perl-crypt-openssl-bignum., Danny Milosavljevic, 2016/07/28
- [PATCH v4 13/16] gnu: Add perl-crypt-openssl-rsa., Danny Milosavljevic, 2016/07/28
- [PATCH v4 12/16] gnu: Add perl-geo-ip., Danny Milosavljevic, 2016/07/28
- [PATCH v4 11/16] gnu: Add perl-net-cidr-lite., Danny Milosavljevic, 2016/07/28
- [PATCH v4 10/16] gnu: Add perl-encode-detect., Danny Milosavljevic, 2016/07/28
- [PATCH v4 09/16] gnu: Add perl-test-trailingspace., Danny Milosavljevic, 2016/07/28
- [PATCH v4 08/16] gnu: Add perl-file-find-object-rule., Danny Milosavljevic, 2016/07/28
- [PATCH v4 07/16] gnu: Add perl-file-find-object., Danny Milosavljevic, 2016/07/28
- [PATCH v4 06/16] gnu: Add perl-net-patricia.,
Danny Milosavljevic <=
- [PATCH v4 05/16] gnu: Add perl-netaddr-ip., Danny Milosavljevic, 2016/07/28
- [PATCH v4 04/16] gnu: Add perl-net-dns-resolver-programmable., Danny Milosavljevic, 2016/07/28
- [PATCH v4 03/16] gnu: Add perl-socket6., Danny Milosavljevic, 2016/07/28
- [PATCH v4 02/16] gnu: Add perl-net-dns., Danny Milosavljevic, 2016/07/28
- [PATCH v4 01/16] gnu: Add perl-db_file., Danny Milosavljevic, 2016/07/28
- Re: [PATCH v4 00/16] Add missing dependencies of Spamassassin, ng0, 2016/07/28