Commit e58f8a7c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.pyhive-integration: modernize

parent 765e3889
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})