aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/maxminddb/default.nix
blob: beddba84fbc6466a72bf2e0a4443461f8de2b1b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ buildPythonPackage, lib, fetchPypi
, ipaddress
, mock
, nose
}:

buildPythonPackage rec {
  version = "1.5.4";
  pname = "maxminddb";

  src = fetchPypi {
    inherit pname version;
    sha256 = "f4d28823d9ca23323d113dc7af8db2087aa4f657fafc64ff8f7a8afda871425b";
  };

  propagatedBuildInputs = [ ipaddress ];

  checkInputs = [ nose mock ];

  meta = with lib; {
    description = "Reader for the MaxMind DB format";
    homepage = "https://www.maxmind.com/en/home";
    license = licenses.asl20;
    maintainers = with maintainers; [ ];
  };
}