From 53c9b39850a98585614ed9622f98213155306191 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 17 Nov 2019 17:11:28 +0100 Subject: gnu: Add libmaxminddb. * gnu/packages/geo.scm (libmaxminddb): New variable. --- gnu/packages/geo.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 477e9a460a..7be1ae5777 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2019 Guillaume Le Vaillant ;;; Copyright © 2019 Efraim Flashner ;;; Copyright © 2019 Wiktor Żelazny +;;; Copyright © 2019 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -1213,3 +1214,33 @@ supports loading GPX tracks, background imagery and OSM data from local sources as well as from online sources and allows to edit the OSM data (nodes, ways, and relations) and their metadata tags.") (license license:gpl2+))) + +(define-public libmaxminddb + (package + (name "libmaxminddb") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/maxmind/libmaxminddb" + "/releases/download/" version "/" + "/libmaxminddb-" version ".tar.gz")) + (sha256 + (base32 "0mnimbaxnnarlw7g1rh8lpxsyf7xnmzwcczcc3lxw8xyf6ljln6x")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'set-cc-to-gcc + (lambda _ + (setenv "CC" "gcc")))))) + (native-inputs + `(("perl" ,perl))) + (home-page "https://maxmind.github.io/libmaxminddb/") + (synopsis "C library for the MaxMind DB file format") + (description "The libmaxminddb library provides a C library for reading +MaxMind DB files, including the GeoIP2 databases from MaxMind. The MaxMind DB +format is a custom, but open, binary format designed to facilitate fast +lookups of IP addresses while allowing flexibility in the type of data +associated with an address.") + (license license:asl2.0))) -- cgit v1.2.3 99db26be8adac9b31fd743742e6'>gnu/packages/firmware.scm
AgeCommit message (Expand)Author
2020-03-30gnu: ath9k-htc-firmware: Correct home-page url....Brendan Tildesley
2020-02-26gnu: opensbi-qemu-sifive-u: Mark as deprecated....Vagrant Cascadian
2020-02-26gnu: opensbi: Update to 0.6....Vagrant Cascadian
2020-02-20gnu: ath9k-htc-firmware, b43-tools: Use git-file-name....Jakub Kądziołka
2020-01-31gnu: Add opensbi-sifive-fu540....Vagrant Cascadian
2020-01-31gnu: Add opensbi-qemu-sifive-u....Vagrant Cascadian
2020-01-31gnu: Add opensbi....Vagrant Cascadian
2020-01-08gnu: arm-trusted-firmware: Update to 2.2....Vagrant Cascadian