python3Packages.pyhive-integration: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user