apio: switch to pypaBuildHook

+6 -1
+6 -1
pkgs/development/embedded/fpga/apio/default.nix
··· 10 10 , scons 11 11 , setuptools 12 12 , tinyprog 13 + , flit-core 13 14 , pytestCheckHook 14 15 }: 15 16 16 17 buildPythonApplication rec { 17 18 pname = "apio"; 18 19 version = "0.8.1"; 19 - format = "flit"; 20 + format = "pyproject"; 20 21 21 22 src = fetchFromGitHub { 22 23 owner = "FPGAwars"; ··· 46 47 'version = semantic_version.Version(pkg_version)' \ 47 48 'version = semantic_version.Version(pkg_version.replace(".dev", "-dev"))' 48 49 ''; 50 + 51 + nativeBuildInputs = [ 52 + flit-core 53 + ]; 49 54 50 55 propagatedBuildInputs = [ 51 56 click