python312Packages.python-ipware: 2.0.0 -> 3.0.0 (#349066)

This commit is contained in:
Fabian Affolter
2024-10-17 01:11:24 +02:00
committed by GitHub
@@ -3,12 +3,13 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
unittestCheckHook,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "python-ipware";
version = "2.0.0";
version = "3.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -16,16 +17,16 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "un33k";
repo = "python-ipware";
rev = "v${version}";
hash = "sha256-j43uAcb1dyKe/SHQLLR+QJS6hKGB5qxjb9NiJaUPj8Y=";
rev = "refs/tags/v${version}";
hash = "sha256-S8/HbRztYGzrpLQRTHcvO7Zv3mNn/0+y5PNBYLpd++E=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "python_ipware" ];
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "python_ipware" ];
meta = with lib; {
description = "Python package for server applications to retrieve client's IP address";
homepage = "https://github.com/un33k/python-ipware";