at master 708 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 libgeoip, 7}: 8 9buildPythonPackage rec { 10 pname = "geoip"; 11 version = "1.3.2"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "GeoIP"; 16 inherit version; 17 sha256 = "1rphxf3vrn8wywjgr397f49s0s22m83lpwcq45lm0h2p45mdm458"; 18 }; 19 20 build-system = [ setuptools ]; 21 22 propagatedBuildInputs = [ libgeoip ]; 23 24 # Tests cannot be run because they require data that isn't included in the 25 # release tarball. 26 doCheck = false; 27 28 meta = { 29 description = "MaxMind GeoIP Legacy Database - Python API"; 30 homepage = "https://www.maxmind.com/"; 31 maintainers = with lib.maintainers; [ jluttine ]; 32 license = lib.licenses.lgpl21Plus; 33 }; 34}