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