4b0508a585
* python37Packages.maxminddb: 1.4.1 -> 1.5.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-maxminddb/versions * pythonPackages.maxminddb: fix license Should be "asl20" (Apache License 2.0) and not "apsl20" (Apple Public Source License 2.0)
26 lines
536 B
Nix
26 lines
536 B
Nix
{ buildPythonPackage, lib, fetchPypi
|
|
, ipaddress
|
|
, mock
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.5.1";
|
|
pname = "maxminddb";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0y9giw81k4wdmpryr4k42w50z292mf364a6vs1vxf83ksc9ig6j4";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|