diff options
Diffstat (limited to 'pkgs/development/python-modules/aiormq')
-rw-r--r-- | pkgs/development/python-modules/aiormq/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/aiormq/default.nix b/pkgs/development/python-modules/aiormq/default.nix index 747f380266863..b8ec9619b1390 100644 --- a/pkgs/development/python-modules/aiormq/default.nix +++ b/pkgs/development/python-modules/aiormq/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "aiormq"; - version = "6.6.4"; + version = "6.7.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mosquito"; repo = pname; - rev = version; - sha256 = "+zTSaQzBoIHDUQgOpD6xvoruFFHZBb0z5D6uAUo0W5A="; + rev = "refs/tags/${version}"; + hash = "sha256-ujRw+trXOZaCRsZdkE3WoomOSdYoQkHmtlyFg1mp3Sg="; }; nativeBuildInputs = [ @@ -37,19 +37,25 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + checkInputs = [ aiomisc ]; + # Tests attempt to connect to a RabbitMQ server disabledTestPaths = [ "tests/test_channel.py" "tests/test_connection.py" ]; - pythonImportsCheck = [ "aiormq" ]; + + pythonImportsCheck = [ + "aiormq" + ]; meta = with lib; { description = "AMQP 0.9.1 asynchronous client library"; homepage = "https://github.com/mosquito/aiormq"; + changelog = "https://github.com/mosquito/aiormq/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ emilytrau ]; }; |