forked from mirrors/nixpkgs
python310Packages.geoip: Normalize attribute, pname, dirname
This commit is contained in:
parent
985f638488
commit
b03e5a85b2
|
@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec {
|
|||
ipy
|
||||
pyperclip
|
||||
] ++
|
||||
lib.optional useGeoIP GeoIP;
|
||||
lib.optional useGeoIP geoip;
|
||||
|
||||
dontBuild = true;
|
||||
doCheck = false;
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{lib, buildPythonPackage, fetchPypi
|
||||
, geoip, nose}:
|
||||
, libgeoip, nose}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "GeoIP";
|
||||
pname = "geoip";
|
||||
version = "1.3.2";
|
||||
|
||||
nativeCheckInputs = [ nose ];
|
||||
propagatedBuildInputs = [
|
||||
geoip
|
||||
libgeoip
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "GeoIP";
|
||||
inherit version;
|
||||
sha256 = "1rphxf3vrn8wywjgr397f49s0s22m83lpwcq45lm0h2p45mdm458";
|
||||
};
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchPypi
|
||||
, GeoIP
|
||||
, geoip
|
||||
, idna
|
||||
, incremental
|
||||
, lsof
|
||||
|
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
mock
|
||||
lsof
|
||||
GeoIP
|
||||
geoip
|
||||
];
|
||||
|
||||
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
|
||||
|
|
|
@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
dnspython
|
||||
GeoIP
|
||||
geoip
|
||||
ppdeep
|
||||
requests
|
||||
tld
|
||||
|
|
|
@ -100,6 +100,7 @@ mapAliases ({
|
|||
garages-amsterdam = throw "garages-amsterdam has been renamed odp-amsterdam."; # added 2023-01-04
|
||||
garminconnect-ha = garminconnect; # added 2022-02-05
|
||||
gdtoolkit = throw "gdtoolkit has been promoted to a top-level attribute"; # added 2023-02-15
|
||||
GeoIP = geoip; # added 2023-02-19
|
||||
gigalixir = throw "gigalixir has been promoted to a top-level attribute"; # Added 2022-10-02
|
||||
gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
|
||||
GitPython = gitpython; # added 2022-10-28
|
||||
|
|
|
@ -3773,7 +3773,9 @@ self: super: with self; {
|
|||
|
||||
geoip2 = callPackage ../development/python-modules/geoip2 { };
|
||||
|
||||
GeoIP = callPackage ../development/python-modules/GeoIP { };
|
||||
geoip = callPackage ../development/python-modules/geoip {
|
||||
libgeoip = pkgs.geoip;
|
||||
};
|
||||
|
||||
geojson = callPackage ../development/python-modules/geojson { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue