pythonPackages.GeoIP: init at 1.3.2

This commit is contained in:
Jaakko Luttinen 2017-09-03 15:57:24 +03:00 committed by Frederik Rietdijk
parent 2c762cd68e
commit fd2c1fe610
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{lib, buildPythonPackage, fetchPypi, isPy3k, incremental, ipaddress, twisted
, automat, zope_interface, idna, pyopenssl, service-identity, pytest, mock, lsof
, geoip, nose}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "GeoIP";
version = "1.3.2";
checkInputs = [ nose ];
propagatedBuildInputs = [
geoip
];
src = fetchPypi {
inherit pname version;
sha256 = "1rphxf3vrn8wywjgr397f49s0s22m83lpwcq45lm0h2p45mdm458";
};
# Tests cannot be run because they require data that isn't included in the
# release tarball.
checkPhase = "true";
meta = {
description = "MaxMind GeoIP Legacy Database - Python API";
homepage = http://www.maxmind.com/;
maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.lgpl21Plus;
};
}

View File

@ -5974,6 +5974,8 @@ in {
};
};
GeoIP = callPackage ../development/python-modules/GeoIP { };
gmpy = buildPythonPackage rec {
name = "gmpy-1.17";
disabled = isPyPy;