Commit a46a61e3 authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.aiohomematic-test-support: init at 2025.11.5

parent 2d8969c8
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{
  aiohomematic,
  buildPythonPackage,
  setuptools,
}:

buildPythonPackage rec {
  pname = "aiohomematic-test-support";
  inherit (aiohomematic) version src;
  pyproject = true;

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
  '';

  sourceRoot = "${src.name}/aiohomematic_test_support";

  build-system = [ setuptools ];

  pythonImportsCheck = [ "aiohomematic_test_support" ];

  meta = {
    description = "Support-only package for AioHomematic (tests/dev)";
    homepage = "https://github.com/SukramJ/aiohomematic/tree/devel/aiohomematic_test_support";
    inherit (aiohomematic.meta) license maintainers;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -296,6 +296,8 @@ self: super: with self; {
  aiohomematic = callPackage ../development/python-modules/aiohomematic { };
  aiohomematic-test-support = callPackage ../development/python-modules/aiohomematic-test-support { };
  aiohttp = callPackage ../development/python-modules/aiohttp { };
  aiohttp-apispec = callPackage ../development/python-modules/aiohttp-apispec { };