1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

pythonPackages.uamqp: init at 1.1.0

This commit is contained in:
Max Wilson 2019-04-29 17:43:31 -04:00 committed by Wael M. Nasreddine
parent 7ca7dfcd2c
commit 4bd2b34ba9
No known key found for this signature in database
GPG key ID: FD437548E0BF0F5F
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, cmake
, openssl
, six
, certifi
, enum34
, isPy3k
}:
buildPythonPackage rec {
pname = "uamqp";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "d3d4ff94bf290adb82fe8c19af709a21294bac9b27c821b9110165a34b922015";
};
buildInputs = [
openssl
certifi
six
] ++ lib.optionals (!isPy3k) [
enum34
];
nativeBuildInputs = [
cmake
];
# has no tests
doCheck = false;
meta = with lib; {
description = "An AMQP 1.0 client library for Python";
homepage = https://github.com/Azure/azure-uamqp-python;
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}

View file

@ -1008,6 +1008,8 @@ in {
toggl-cli = callPackage ../development/python-modules/toggl-cli { };
uamqp = callPackage ../development/python-modules/uamqp { };
unifi = callPackage ../development/python-modules/unifi { };
uvloop = callPackage ../development/python-modules/uvloop { };