diff --git a/pkgs/development/python-modules/types-protobuf/default.nix b/pkgs/development/python-modules/types-protobuf/default.nix index b05bba749eb5..68004378f0b8 100644 --- a/pkgs/development/python-modules/types-protobuf/default.nix +++ b/pkgs/development/python-modules/types-protobuf/default.nix @@ -2,21 +2,26 @@ lib, buildPythonPackage, fetchPypi, + setuptools, types-futures, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "types-protobuf"; version = "6.32.1.20260221"; - format = "setuptools"; + pyproject = true; + + __structuredAttrs = true; src = fetchPypi { pname = "types_protobuf"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-bV+wYKYWv7B2y7YbSzw5afX8i+xYEPmi9+ZI7ly8v24="; }; - propagatedBuildInputs = [ types-futures ]; + build-system = [ setuptools ]; + + dependencies = [ types-futures ]; # Module doesn't have tests doCheck = false; @@ -29,4 +34,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ andersk ]; }; -} +})