nixpkgs/pkgs/development/python-modules/uamqp/default.nix
2019-07-16 14:53:34 -07:00

43 lines
703 B
Nix

{ 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 ];
};
}