python311Packages.aiomisc: use nixfmt

This commit is contained in:
Fabian Affolter
2024-04-03 21:59:59 +02:00
parent 5bdd8429ca
commit 0d35be12b4
@@ -1,23 +1,24 @@
{ lib
, aiocontextvars
{
lib,
aiocontextvars,
#, aiocarbon
, aiohttp
aiohttp,
#, aiohttp-asgi
, async-timeout
, buildPythonPackage
, colorlog
, croniter
, fastapi
, fetchPypi
, logging-journald
, poetry-core
, pytestCheckHook
, pythonOlder
, raven
async-timeout,
buildPythonPackage,
colorlog,
croniter,
fastapi,
fetchPypi,
logging-journald,
poetry-core,
pytestCheckHook,
pythonOlder,
raven,
#, raven-aiohttp
, setproctitle
, setuptools
, uvloop
setproctitle,
setuptools,
uvloop,
}:
buildPythonPackage rec {
@@ -32,9 +33,7 @@ buildPythonPackage rec {
hash = "sha256-/2WEaM9ZM9dbMA73XADOE2u5r3SfMAyjH8isOsXaJhE=";
};
build-system = [
poetry-core
];
build-system = [ poetry-core ];
dependencies = [
colorlog
@@ -49,32 +48,24 @@ buildPythonPackage rec {
pytestCheckHook
raven
setproctitle
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
passthru.optional-dependencies = {
aiohttp = [
aiohttp
];
aiohttp = [ aiohttp ];
#asgi = [
# aiohttp-asgi
#];
cron = [
croniter
];
cron = [ croniter ];
#carbon = [
# aiocarbon
#];
#raven = [
# raven-aiohttp
#];
uvloop = [
uvloop
];
uvloop = [ uvloop ];
};
pythonImportsCheck = [
"aiomisc"
];
pythonImportsCheck = [ "aiomisc" ];
# Upstream stopped tagging with 16.2
doCheck = false;