python3Packages.aqipy-atmotech: migrate to pyproject

This commit is contained in:
Harinn
2026-06-04 19:42:46 +07:00
parent 1335546dcc
commit 01ba858c14

View File

@@ -3,12 +3,13 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aqipy-atmotech";
version = "0.1.5";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "atmotube";
@@ -17,6 +18,8 @@ buildPythonPackage rec {
hash = "sha256-tqHhfJmtVFUSO57Cid9y3LK4pOoG7ROtwDT2hY5IE1Y=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''