1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/uamqp/default.nix

48 lines
797 B
Nix
Raw Normal View History

{ CFNetwork
, Security
2019-04-29 22:43:31 +01:00
, buildPythonPackage
, certifi
, cmake
2019-04-29 22:43:31 +01:00
, enum34
, fetchPypi
2019-04-29 22:43:31 +01:00
, isPy3k
, lib
, openssl
, stdenv
, six
2019-04-29 22:43:31 +01:00
}:
buildPythonPackage rec {
pname = "uamqp";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "d3d4ff94bf290adb82fe8c19af709a21294bac9b27c821b9110165a34b922015";
};
buildInputs = [
openssl
certifi
six
] ++ lib.optionals (!isPy3k) [
enum34
] ++ lib.optionals stdenv.isDarwin [
CFNetwork Security
2019-04-29 22:43:31 +01:00
];
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 ];
};
}