diff --git a/pkgs/development/python-modules/gviz-api/default.nix b/pkgs/development/python-modules/gviz-api/default.nix index 6b14a04aa65b..8c27b6265436 100644 --- a/pkgs/development/python-modules/gviz-api/default.nix +++ b/pkgs/development/python-modules/gviz-api/default.nix @@ -2,21 +2,25 @@ lib, fetchPypi, buildPythonPackage, + setuptools, six, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "gviz_api"; version = "1.10.0"; - format = "wheel"; + pyproject = true; + + __structuredAttrs = true; src = fetchPypi { - inherit pname version; - format = "wheel"; - sha256 = "a05055fed8c279f34f4b496eace7648c7fe9c1b06851e8a36e748541f1adbb05"; + inherit (finalAttrs) pname version; + sha256 = "sha256-hGaS3YzHMiT8MbGOQVib2TThzAUJDGV2r0tLJsLnG5A="; }; - propagatedBuildInputs = [ six ]; + build-system = [ setuptools ]; + + dependencies = [ six ]; meta = { description = "Python API for Google Visualization"; @@ -24,4 +28,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ ndl ]; }; -} +})