[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/55: gnu: Add geolite-country-data.
From: |
guix-commits |
Subject: |
46/55: gnu: Add geolite-country-data. |
Date: |
Sun, 22 Dec 2024 07:33:00 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 4dc4e057b44f9171975ffaf066fd884c754c325b
Author: Antero Mejr <antero@mailbox.org>
AuthorDate: Sun Jun 4 17:42:41 2023 +0000
gnu: Add geolite-country-data.
* gnu/packages/perl-web.scm (geolite-country-data): New variable.
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
---
gnu/packages/perl-web.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm
index b4c89d1947..393cbc4d06 100644
--- a/gnu/packages/perl-web.scm
+++ b/gnu/packages/perl-web.scm
@@ -25,6 +25,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (guix download)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system perl)
#:use-module (gnu packages web))
@@ -232,3 +233,30 @@ simple and lightweight interface to the
@acronym{SOAP, Simple Object Access Protocol}, both on client and server
side.")
(license license:perl-license)))
+
+(define-public geolite-country-data
+ ;; TODO: Figure out how to get an updated, free database.
+ (hidden-package
+ (package
+ (name "geolite-country-data")
+ (version "2019-12-06")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://web.archive.org/web/20181229152721/"
+ "http://geolite.maxmind.com/download/geoip/database/"
+ "GeoLiteCountry/" "GeoIP.dat.gz"))
+ (sha256
+ (base32
+ "0j84ms2x893cpn7x8gffy082gnx882pmr0f6zpfsd46gpyw5xh5r"))))
+ (build-system copy-build-system)
+ (arguments
+ (list #:install-plan #~'(("GeoIP.dat" "share/GeoIP/"))))
+ (home-page "https://dev.maxmind.com/geoip/geolite2-free-geolocation-data")
+ (synopsis "Country-level GeoIP data (December 2018)")
+ (description
+ "This package provides an old GeoIP database in the legacy @file{.dat}
+format. The data was collected before MaxMind changed the license and format
+of their databases. It is intended only as a compatability package for
+SpamAssassin.")
+ (license license:cc-by-sa4.0))))
- branch master updated (8c1348e4f2 -> b461641b99), guix-commits, 2024/12/22
- 03/55: gnu: Add perl-dbix-simple., guix-commits, 2024/12/22
- 10/55: gnu: Add perl-test-file-sharedir., guix-commits, 2024/12/22
- 09/55: gnu: Add perl-fennec-lite., guix-commits, 2024/12/22
- 14/55: gnu: Add perl-constant., guix-commits, 2024/12/22
- 15/55: gnu: Add perl-critic-policy-perlsecret., guix-commits, 2024/12/22
- 16/55: gnu: Add perl-data-messagepack., guix-commits, 2024/12/22
- 27/55: gnu: Add perl-meta-builder., guix-commits, 2024/12/22
- 30/55: gnu: Add perl-safe-hole., guix-commits, 2024/12/22
- 42/55: gnu: Add perl-text-xslate., guix-commits, 2024/12/22
- 46/55: gnu: Add geolite-country-data.,
guix-commits <=
- 01/55: gnu: nextpnr-ice40: Update to 0.7., guix-commits, 2024/12/22
- 02/55: gnu: Add perl-dbix-class-deploymenthandler., guix-commits, 2024/12/22
- 04/55: gnu: Add perl-dbicx-testdatabase., guix-commits, 2024/12/22
- 07/55: gnu: Add perl-sql-translator., guix-commits, 2024/12/22
- 12/55: gnu: Add perl-test-mockrandom., guix-commits, 2024/12/22
- 13/55: gnu: Add perl-config-simple., guix-commits, 2024/12/22
- 08/55: gnu: Add perl-test-postgresql., guix-commits, 2024/12/22
- 20/55: gnu: Add perl-exporter-declare., guix-commits, 2024/12/22
- 18/55: gnu: Add perl-datetime-format-sqlite., guix-commits, 2024/12/22
- 19/55: gnu: Add perl-datetime-format-pg., guix-commits, 2024/12/22