depot/third_party/nixpkgs/pkgs/development/python-modules/GeoIP/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
651 B
Nix

{lib, buildPythonPackage, fetchPypi
, geoip, nose}:
buildPythonPackage rec {
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 = "https://www.maxmind.com/";
maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.lgpl21Plus;
};
}