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