Unverified Commit a2ad08a3 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.aiobafi6: refactor

parent a0a53485
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -6,16 +6,13 @@
  protobuf,
  pytest-asyncio,
  pytestCheckHook,
  pythonOlder,
  zeroconf,
}:

buildPythonPackage rec {
  pname = "aiobafi6";
  version = "0.10.0";
  format = "pyproject";

  disabled = pythonOlder "3.10";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jfroy";
@@ -24,9 +21,9 @@ buildPythonPackage rec {
    hash = "sha256-7NIpIRVs6PFPByrGfVDA6P7JTvXGrzbH/lOPdPfZH04=";
  };

  nativeBuildInputs = [ poetry-core ];
  build-system = [ poetry-core ];

  propagatedBuildInputs = [
  dependencies = [
    protobuf
    zeroconf
  ];
@@ -40,10 +37,10 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Library for communication with the Big Ass Fans i6 firmware";
    mainProgram = "aiobafi6";
    homepage = "https://github.com/jfroy/aiobafi6";
    changelog = "https://github.com/jfroy/aiobafi6/releases/tag/0.8.2";
    changelog = "https://github.com/jfroy/aiobafi6/releases/tag/${src.tag}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
    mainProgram = "aiobafi6";
  };
}