mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
29 lines
657 B
Nix
29 lines
657 B
Nix
{lib, buildPythonPackage, fetchPypi
|
|
, geoip, nose}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "GeoIP";
|
|
version = "1.3.2";
|
|
|
|
nativeCheckInputs = [ 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;
|
|
};
|
|
}
|