Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 81 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ lib, stdenv, aiocontextvars, aiohttp, async-timeout, buildPythonPackage, colorlog, croniter, fastapi, fetchPypi, logging-journald, poetry-core, pytestCheckHook, pythonOlder, raven, rich, setproctitle, typing-extensions, uvloop,}:
buildPythonPackage rec { pname = "aiomisc"; version = "17.5.19"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-0tcWfi4zxqDDMknDPOLNm+S+K1qmHQ5n/PqNFyNbwZg="; };
build-system = [ poetry-core ];
dependencies = [ colorlog ] ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ] ++ lib.optionals stdenv.isLinux [ logging-journald ];
nativeCheckInputs = [ aiocontextvars async-timeout fastapi pytestCheckHook setproctitle ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
passthru.optional-dependencies = { aiohttp = [ aiohttp ]; #asgi = [ aiohttp-asgi ]; cron = [ croniter ]; #carbon = [ aiocarbon ]; raven = [ aiohttp raven ]; rich = [ rich ]; uvloop = [ uvloop ]; };
pythonImportsCheck = [ "aiomisc" ];
# Upstream stopped tagging with 16.2 doCheck = false;
# disabledTestPaths = [ # # Dependencies are not available at the moment # "tests/test_entrypoint.py" # "tests/test_raven_service.py" # ];
meta = with lib; { description = "Miscellaneous utils for asyncio"; homepage = "https://github.com/aiokitchen/aiomisc"; changelog = "https://github.com/aiokitchen/aiomisc/blob/master/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}