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