2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-09-14 10:15:19 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libmaxminddb";
|
2021-04-29 19:44:04 -07:00
|
|
|
version = "1.6.0";
|
2016-09-14 10:15:19 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = meta.homepage + "/releases/download/${version}/${pname}-${version}.tar.gz";
|
2021-04-29 19:44:04 -07:00
|
|
|
sha256 = "sha256-diCsGHxZHOIbzXvzUjdqPFapM+aEVYofa+9L1PP5gmc=";
|
2016-09-14 10:15:19 -07:00
|
|
|
};
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2016-09-14 10:15:19 -07:00
|
|
|
description = "C library for working with MaxMind geolocation DB files";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/maxmind/libmaxminddb";
|
2019-10-20 06:00:24 -07:00
|
|
|
license = licenses.asl20;
|
2016-09-14 10:15:19 -07:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.vcunat ];
|
|
|
|
};
|
|
|
|
}
|