2019-07-04 16:27:15 +01:00
|
|
|
{ buildPythonPackage, lib, fetchPypi
|
|
|
|
, ipaddress
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-09 11:01:51 +01:00
|
|
|
version = "1.5.4";
|
2019-07-04 16:27:15 +01:00
|
|
|
pname = "maxminddb";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:51 +01:00
|
|
|
sha256 = "f4d28823d9ca23323d113dc7af8db2087aa4f657fafc64ff8f7a8afda871425b";
|
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; [ ];
|
|
|
|
};
|
|
|
|
}
|