python3Packages.pyhive-integration: modernize

This commit is contained in:
Fabian Affolter
2026-03-01 10:06:55 +01:00
parent 765e3889b9
commit e58f8a7c7d
@@ -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 ];
};
}
})