nixpkgs/pkgs/development/python-modules/uamqp/default.nix

43 lines
703 B
Nix
Raw Normal View History

2019-04-29 21:43:31 +00:00
{ 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 ];
};
}