2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libmaxminddb";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "1.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = meta.homepage + "/releases/download/${version}/${pname}-${version}.tar.gz";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "sha256-diCsGHxZHOIbzXvzUjdqPFapM+aEVYofa+9L1PP5gmc=";
|
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
|
|
|
};
|
|
|
|
}
|