b189247ba0
Uses the HTTPS url for cases where the existing URL has a permanent redirect. For each domain, at least one fixed derivation URL was downloaded to test the domain is properly serving downloads. Also fixes jbake source URL, which was broken.
30 lines
803 B
Nix
30 lines
803 B
Nix
{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 = https://www.maxmind.com/;
|
|
maintainers = with lib.maintainers; [ jluttine ];
|
|
license = lib.licenses.lgpl21Plus;
|
|
};
|
|
}
|