12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-zdwAxyVElSICO62Un3D/97SPCxredNFwpvEKsERzlDI=";
24 propagatedBuildInputs = [ vine ];
26 __darwinAllowLocalNetworking = true;
35 # Requires network access
38 ++ lib.optionals stdenv.hostPlatform.isDarwin [
39 # Requires network access but fails on macos only
43 pythonImportsCheck = [ "amqp" ];
46 description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
47 homepage = "https://github.com/celery/py-amqp";
48 changelog = "https://github.com/celery/py-amqp/releases/tag/v${version}";
49 license = licenses.bsd3;
50 maintainers = with maintainers; [ fab ];