diff --git a/pkgs/development/python-modules/pyhive-integration/default.nix b/pkgs/development/python-modules/pyhive-integration/default.nix index d8e54e02eda2..23c302cc0ee1 100644 --- a/pkgs/development/python-modules/pyhive-integration/default.nix +++ b/pkgs/development/python-modules/pyhive-integration/default.nix @@ -12,26 +12,26 @@ loguru, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyhive-integration"; - version = "1.0.7"; + version = "1.0.8"; pyproject = true; src = fetchFromGitHub { owner = "Pyhass"; repo = "Pyhiveapi"; - tag = "v${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 ]; }; -} +})