cambrinary: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-09 23:52:39 +02:00
parent 1e704c4fc9
commit e87e6a7ea4

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, flit
, aiohttp
, beautifulsoup4
}:
@ -8,7 +9,7 @@
buildPythonApplication rec {
pname = "cambrinary";
version = "unstable-2023-07-16";
format = "flit";
format = "pyproject";
src = fetchFromGitHub {
owner = "xueyuanl";
@ -17,6 +18,10 @@ buildPythonApplication rec {
hash = "sha256-wDcvpKAY/6lBjO5h3qKH3+Y2G2gm7spcKCXFMt/bAtE=";
};
nativeBuildInputs = [
flit
];
propagatedBuildInputs = [
aiohttp
beautifulsoup4