python312Packages.hishel: format with nixfmt
This commit is contained in:
parent
7289c271eb
commit
cb99251ab2
1 changed files with 22 additions and 34 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue