2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-09-14 17:15:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libmaxminddb";
|
2022-10-01 22:57:01 +00:00
|
|
|
version = "1.7.1";
|
2016-09-14 17:15:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = meta.homepage + "/releases/download/${version}/${pname}-${version}.tar.gz";
|
2022-10-01 22:57:01 +00:00
|
|
|
sha256 = "sha256-6EFPDe3Oy8H2wxy2XNgWUJUqsGd6TYxJyrYDs7j7CD4=";
|
2016-09-14 17:15:19 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-09-14 17:15:19 +00:00
|
|
|
description = "C library for working with MaxMind geolocation DB files";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/maxmind/libmaxminddb";
|
2019-10-20 13:00:24 +00:00
|
|
|
license = licenses.asl20;
|
2022-07-16 07:08:11 +00:00
|
|
|
maintainers = [ maintainers.ajs124 ];
|
2022-05-05 00:52:27 +00:00
|
|
|
mainProgram = "mmdblookup";
|
|
|
|
platforms = platforms.all;
|
2016-09-14 17:15:19 +00:00
|
|
|
};
|
|
|
|
}
|