Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, pamqp, uv-build, pyprojectVersionPatchHook, yarl,}:
buildPythonPackage rec { pname = "aiormq"; version = "9.6.4"; pyproject = true;
src = fetchFromGitHub { owner = "mosquito"; repo = "aiormq"; tag = version; hash = "sha256-GFeOwjSQ1+nxP9hgNoELoEInTmhhO0JnNeoe2qfWNcg="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace "uv_build>=0.10.4,<0.11.0" uv_build '';
pythonRelaxDeps = [ "pamqp" ];
build-system = [ uv-build ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
dependencies = [ pamqp yarl ];
# Tests require running a RabbitMQ server. # They rely on having AMQP_URL set or running Docker. doCheck = false;
pythonImportsCheck = [ "aiormq" ];
meta = { description = "AMQP 0.9.1 asynchronous client library"; homepage = "https://github.com/mosquito/aiormq"; changelog = "https://github.com/mosquito/aiormq/releases/tag/${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ emilytrau ]; };}