diff --git a/pkgs/development/python-modules/wazeroutecalculator/default.nix b/pkgs/development/python-modules/wazeroutecalculator/default.nix index b4eb85e24db0..e7ddfa028e05 100644 --- a/pkgs/development/python-modules/wazeroutecalculator/default.nix +++ b/pkgs/development/python-modules/wazeroutecalculator/default.nix @@ -3,20 +3,22 @@ buildPythonPackage, fetchPypi, requests, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "wazeroutecalculator"; - version = "0.15"; - format = "setuptools"; + version = "0.16"; + pyproject = true; src = fetchPypi { - pname = "WazeRouteCalculator"; - inherit version; - hash = "sha256-DB5oWthWNwamFG3kNxA/kmUBOVogoSg5LI2KrI39s4M="; + inherit (finalAttrs) pname version; + hash = "sha256-tJip0tSlwr7a5UVH77dAPNHag4v1JShU1vHA9xKhbwg="; }; - propagatedBuildInputs = [ requests ]; + build-system = [ setuptools ]; + + dependencies = [ requests ]; # there are no tests doCheck = false; @@ -29,4 +31,4 @@ buildPythonPackage rec { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ peterhoeg ]; }; -} +})