diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/amqp/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/amqp/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/amqp/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/amqp/default.nix new file mode 100644 index 000000000000..5fa41412a7ca --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/amqp/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }: + +buildPythonPackage rec { + pname = "amqp"; + version = "2.6.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "70cdb10628468ff14e57ec2f751c7aa9e48e7e3651cfd62d431213c0c4e58f21"; + }; + + propagatedBuildInputs = [ vine ]; + + checkInputs = [ pytestCheckHook case ]; + disabledTests = [ + "test_rmq.py" # requires network access + ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/celery/py-amqp"; + description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project"; + license = licenses.lgpl21; + }; +} |