2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libmaxminddb";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "1.7.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = meta.homepage + "/releases/download/${version}/${pname}-${version}.tar.gz";
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-StbPiRlXU183tua2Fi4SIEV5xdPksZExHQvWFj23FYw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C library for working with MaxMind geolocation DB files";
|
|
|
|
homepage = "https://github.com/maxmind/libmaxminddb";
|
|
|
|
license = licenses.asl20;
|
2022-07-18 16:21:45 +00:00
|
|
|
maintainers = [ maintainers.ajs124 ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "mmdblookup";
|
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|