python311Packages.blebox-uniapi: use pyproject = true

This commit is contained in:
Robert Schütz 2024-02-06 18:41:47 -08:00
parent c46bdb2e32
commit 08a263dd22

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, aiohttp
, semver
, deepmerge
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "blebox-uniapi";
version = "2.2.2";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.9";
@ -25,9 +26,13 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
--replace-fail "pytest-runner" ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
semver