diff --git a/pkgs/development/python-modules/pyhive-integration/default.nix b/pkgs/development/python-modules/pyhive-integration/default.nix index ccb4591bf563..23c302cc0ee1 100644 --- a/pkgs/development/python-modules/pyhive-integration/default.nix +++ b/pkgs/development/python-modules/pyhive-integration/default.nix @@ -12,7 +12,7 @@ loguru, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyhive-integration"; version = "1.0.8"; pyproject = true; @@ -20,18 +20,18 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Pyhass"; repo = "Pyhiveapi"; - tag = version; + tag = finalAttrs.version; hash = "sha256-9qcRvkRV/3GT66jlnkdKk+J3frEcsJ3C+Oio5gbRi5s="; }; pythonRemoveDeps = [ "pre-commit" ]; - nativeBuildInputs = [ + build-system = [ setuptools unasync ]; - propagatedBuildInputs = [ + dependencies = [ boto3 botocore requests @@ -53,8 +53,8 @@ buildPythonPackage rec { meta = { description = "Python library to interface with the Hive API"; homepage = "https://github.com/Pyhass/Pyhiveapi"; - changelog = "https://github.com/Pyhass/Pyhiveapi/releases/tag/${src.tag}"; + changelog = "https://github.com/Pyhass/Pyhiveapi/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +})