2019-07-04 16:27:15 +01:00
|
|
|
{ buildPythonPackage, lib, fetchPypi
|
|
|
|
, ipaddress
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-12-29 09:28:07 +00:00
|
|
|
version = "1.5.2";
|
2019-07-04 16:27:15 +01:00
|
|
|
pname = "maxminddb";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-29 09:28:07 +00:00
|
|
|
sha256 = "d0ce131d901eb11669996b49a59f410efd3da2c6dbe2c0094fe2fef8d85b6336";
|
2019-07-04 16:27:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ipaddress ];
|
|
|
|
|
|
|
|
checkInputs = [ nose mock ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reader for the MaxMind DB format";
|
|
|
|
homepage = "https://www.maxmind.com/en/home";
|
2019-10-18 16:14:10 +01:00
|
|
|
license = licenses.asl20;
|
2019-07-04 16:27:15 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|