python3Packages.aiolookin: migrate to pyproject (#525726)

This commit is contained in:
Fabian Affolter
2026-05-30 21:05:12 +00:00
committed by GitHub
@@ -7,21 +7,24 @@
pytest-aiohttp,
pytest-mock,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aiolookin";
version = "1.0.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "ANMalko";
repo = "aiolookin";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-G3/lUgV60CMLskUo83TlvLLIfJtu5DEz+94mdVI4OrI=";
};
propagatedBuildInputs = [ aiohttp ];
build-system = [ setuptools ];
dependencies = [ aiohttp ];
doCheck = false; # all tests are async and no async plugin is configured
@@ -37,8 +40,8 @@ buildPythonPackage rec {
meta = {
description = "Python client for interacting with LOOKin devices";
homepage = "https://github.com/ANMalko/aiolookin";
changelog = "https://github.com/ANMalko/aiolookin/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/ANMalko/aiolookin/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
})