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

[Backport release-25.11] python313Packages.timezonefinder: 8.0.0 -> 8.1.0 (#464862)

parents bdc8c440 d45bd769
Loading
Loading
Loading
Loading
+14 −10
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  cffi,
  fetchFromGitHub,
  flatbuffers,
  h3,
  numba,
  numpy,
  poetry-core,
  pydantic,
  pytestCheckHook,
  pytz,
  setuptools,
}:

buildPythonPackage rec {
  pname = "timezonefinder";
  version = "8.0.0";
  version = "8.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jannikmi";
    repo = "timezonefinder";
    tag = version;
    hash = "sha256-AvuNsIpJBZymlJe4HLPEmHfxN1jhqPmrEgRPb3W+B3E=";
    hash = "sha256-jIsS8RcbMNhj5Z/AYbNyVsbQOozbk75tXSLRqhez9Ug=";
  };

  build-system = [
    poetry-core
    setuptools
  ];
  build-system = [ setuptools ];

  nativeBuildInputs = [ cffi ];

@@ -38,10 +36,16 @@ buildPythonPackage rec {
    numpy
  ];

  optional-dependencies = {
    numba = [ numba ];
    pytz = [ pytz ];
  };

  nativeCheckInputs = [
    numba
    pydantic
    pytestCheckHook
  ];
  ]
  ++ lib.flatten (builtins.attrValues optional-dependencies);

  pythonImportsCheck = [ "timezonefinder" ];