mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 19:24:20 +00:00
python310Packages.maxminddb: remove ipaddress usage, update homepage
This commit is contained in:
parent
260ed44242
commit
582268d27b
@ -1,14 +1,17 @@
|
||||
{ stdenv, lib, buildPythonPackage, pythonOlder, pythonAtLeast
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, fetchPypi
|
||||
, libmaxminddb
|
||||
, ipaddress
|
||||
, mock
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.2.0";
|
||||
pname = "maxminddb";
|
||||
version = "2.2.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -18,8 +21,6 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ libmaxminddb ];
|
||||
|
||||
propagatedBuildInputs = [ ipaddress ];
|
||||
|
||||
checkInputs = [ nose mock ];
|
||||
|
||||
# Tests are broken for macOS on python38
|
||||
@ -27,7 +28,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reader for the MaxMind DB format";
|
||||
homepage = "https://www.maxmind.com/en/home";
|
||||
homepage = "https://github.com/maxmind/MaxMind-DB-Reader-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user