Unverified Commit b68eda18 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

parents 2f0e2ecc 42dee1d3
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -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";