* [PATCH] gnu: Add perl-geo-ip.
@ 2016-07-26 21:28 Danny Milosavljevic
0 siblings, 0 replies; only message in thread
From: Danny Milosavljevic @ 2016-07-26 21:28 UTC (permalink / raw)
To: guix-devel
* gnu/packages/networking.scm (perl-geo-ip): Add variable.
---
gnu/packages/networking.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 41c42c3..79575d0 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -551,3 +551,27 @@ offline emulation of DNS.")
"Perl extension for merging IPv4 or IPv6 CIDR addresses")
(description "Net::CIDR::Lite merges IPv4 or IPv6 CIDR addresses.")
(license license:gpl1+)))
+
+;; TODO: Use the geolite-mirror-simple.pl script from the example
+;; directory to stay current with the databases. How?
+(define-public perl-geo-ip
+ (package
+ (name "perl-geo-ip")
+ (version "1.45")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/M/MA/MAXMIND/Geo-IP-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0qinkq2br1cjicbgqb5bvrhm73h7f9f4fgc6bjfs5r6x7316bdqf"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Geo-IP")
+ (synopsis
+ "Look up location and network information by IP Address in Perl")
+ (description "The Perl module 'Geo::IP'.
+It looks up location and network information by IP Address.")
+ (license (package-license perl))))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-26 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-26 21:28 [PATCH] gnu: Add perl-geo-ip 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).