mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add perl-geo-ip.
* gnu/packages/networking.scm (perl-geo-ip): Add variable. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
b09a8b6f63
commit
e741c4e424
1 changed files with 24 additions and 0 deletions
|
@ -581,3 +581,27 @@ (define-public perl-net-cidr-lite
|
|||
"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.50")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://cpan/authors/id/M/MA/MAXMIND/Geo-IP-"
|
||||
version
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ar69lrm26rp6sqxjf0p6cvjfprjx8gkxx11r399lvh99rqfl7zr"))))
|
||||
(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))))
|
||||
|
|
Loading…
Reference in a new issue