python312Packages.hishel: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-12 21:27:49 +02:00
parent 7289c271eb
commit cb99251ab2

View file

@ -1,18 +1,19 @@
{ lib
, anysqlite
, boto3
, buildPythonPackage
, fetchFromGitHub
, hatch-fancy-pypi-readme
, hatchling
, httpx
, moto
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pyyaml
, redis
, trio
{
lib,
anysqlite,
boto3,
buildPythonPackage,
fetchFromGitHub,
hatch-fancy-pypi-readme,
hatchling,
httpx,
moto,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pyyaml,
redis,
trio,
}:
buildPythonPackage rec {
@ -34,23 +35,13 @@ buildPythonPackage rec {
hatchling
];
dependencies = [
httpx
];
dependencies = [ httpx ];
passthru.optional-dependencies = {
redis = [
redis
];
s3 = [
boto3
];
sqlite = [
anysqlite
];
yaml = [
pyyaml
];
redis = [ redis ];
s3 = [ boto3 ];
sqlite = [ anysqlite ];
yaml = [ pyyaml ];
};
nativeCheckInputs = [
@ -60,9 +51,7 @@ buildPythonPackage rec {
trio
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"hishel"
];
pythonImportsCheck = [ "hishel" ];
disabledTests = [
# Tests require a running Redis instance
@ -83,4 +72,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ fab ];
};
}