python312Packages.bring-api: refactor

- enable tests
This commit is contained in:
Fabian Affolter 2024-04-11 09:32:43 +02:00
parent b14303fcce
commit 54f7f1fe10

View File

@ -1,9 +1,13 @@
{ lib { lib
, aiohttp , aiohttp
, aioresponses
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, setuptools , pytest-asyncio
, pytestCheckHook
, python-dotenv
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,16 +24,20 @@ buildPythonPackage rec {
hash = "sha256-fhZMn0v908VzV+JLuS8tM+BPKJBoj77vEh1pINL4Cco="; hash = "sha256-fhZMn0v908VzV+JLuS8tM+BPKJBoj77vEh1pINL4Cco=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
aiohttp aiohttp
]; ];
# Module has no tests nativeCheckInputs = [
doCheck = false; aioresponses
pytest-asyncio
pytestCheckHook
python-dotenv
];
pythonImportsCheck = [ pythonImportsCheck = [
"bring_api" "bring_api"