python3Packages.aiohttp-remotes: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-09 23:56:18 +02:00
parent c8466f963a
commit 1907ffe551

View file

@ -2,6 +2,7 @@
, aiohttp
, buildPythonPackage
, fetchPypi
, flit
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
@ -11,7 +12,7 @@
buildPythonPackage rec {
pname = "aiohttp-remotes";
version = "1.2.0";
format = "flit";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -21,6 +22,10 @@ buildPythonPackage rec {
sha256 = "f95c3a6be5e2de746a85ce9af49ec548da6db8378d7e81bb171ec77b13562a6c";
};
nativeBuildInputs = [
flit
];
propagatedBuildInputs = [
aiohttp
] ++ lib.optionals (pythonOlder "3.7") [