From e212445cb760f63cd4085e8b836250f3ded90b45 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Nov 2023 22:21:57 +0100 Subject: [PATCH] python311Packages.python-opendata-transport: refactor --- .../python-modules/python-opendata-transport/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/python-opendata-transport/default.nix b/pkgs/development/python-modules/python-opendata-transport/default.nix index b5de339162eb..473eb8089707 100644 --- a/pkgs/development/python-modules/python-opendata-transport/default.nix +++ b/pkgs/development/python-modules/python-opendata-transport/default.nix @@ -3,13 +3,14 @@ , buildPythonPackage , fetchPypi , pythonOlder +, setuptools , urllib3 }: buildPythonPackage rec { pname = "python-opendata-transport"; version = "0.4.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -19,6 +20,10 @@ buildPythonPackage rec { hash = "sha256-2lEKPu5vjyqNUqz1NGmZ5b6YP3oWnCgoubDdiQCbdps="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aiohttp urllib3