From a0ba0dfec2af7d7417e5010d2661f11c9b166007 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 Sep 2024 10:52:15 +0200 Subject: [PATCH] python312Packages.timezonefinder: refactor --- .../python-modules/timezonefinder/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/timezonefinder/default.nix b/pkgs/development/python-modules/timezonefinder/default.nix index 7cca2f8c79b3..e869dc7ddc85 100644 --- a/pkgs/development/python-modules/timezonefinder/default.nix +++ b/pkgs/development/python-modules/timezonefinder/default.nix @@ -26,13 +26,14 @@ buildPythonPackage rec { hash = "sha256-8fDKgM6LVe7aJgD4UfTpg0EjKGuudzYsmqniocozmAE="; }; - nativeBuildInputs = [ - cffi + build-system = [ poetry-core setuptools ]; - propagatedBuildInputs = [ + nativeBuildInputs = [ cffi ]; + + dependencies = [ cffi h3 numpy @@ -53,9 +54,9 @@ buildPythonPackage rec { meta = with lib; { changelog = "https://github.com/jannikmi/timezonefinder/blob/${version}/CHANGELOG.rst"; description = "Module for finding the timezone of any point on earth (coordinates) offline"; - mainProgram = "timezonefinder"; homepage = "https://github.com/MrMinimal64/timezonefinder"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "timezonefinder"; }; }