1{ buildPythonPackage, lib, fetchPypi
2, ipaddress
3, mock
4, nose
5}:
6
7buildPythonPackage rec {
8 version = "1.5.2";
9 pname = "maxminddb";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "d0ce131d901eb11669996b49a59f410efd3da2c6dbe2c0094fe2fef8d85b6336";
14 };
15
16 propagatedBuildInputs = [ ipaddress ];
17
18 checkInputs = [ nose mock ];
19
20 meta = with lib; {
21 description = "Reader for the MaxMind DB format";
22 homepage = "https://www.maxmind.com/en/home";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ ];
25 };
26}