Merge pull request #146860 from fabaff/bump-azure-eventhub

python3Packages.azure-eventhub: 5.6.0 -> 5.6.1, python3Packages.azure-servicebus: 7.3.3 -> 7.4.0
This commit is contained in:
Fabian Affolter 2021-11-21 22:57:02 +01:00 committed by GitHub
commit 8b6eb9f86e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 38 deletions

View File

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "azure-eventhub";
version = "5.6.0";
version = "5.6.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "aa6d9e3e9b8b1a5ad211a828de867b85910720722577a4d51cd5aa6889d1d9e9";
sha256 = "sha256-ssjTesjPFITaB5Uy061podqL14ojeCIVm3LWsF3kY40=";
};
propagatedBuildInputs = [

View File

@ -1,29 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, uamqp
, azure-common
, azure-core
, msrestazure
, buildPythonPackage
, fetchPypi
, futures ? null
, isodate
, isPy3k
, msrestazure
, uamqp
}:
buildPythonPackage rec {
pname = "azure-servicebus";
version = "7.3.3";
version = "7.4.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1c2133909a086bd4329135d6affcc05628e3a7da27afca584a0de8c21fc4e1ac";
sha256 = "sha256-nlt4wNHI613tK7JB85fBW2LE/FOa8+2aLeT6wzP1PQ4=";
};
propagatedBuildInputs = [
uamqp
azure-common
azure-core
isodate
msrestazure
uamqp
] ++ lib.optionals (!isPy3k) [
futures
];
@ -32,7 +35,9 @@ buildPythonPackage rec {
doCheck = false;
# python2 will fail due to pep 420
pythonImportsCheck = lib.optionals isPy3k [ "azure.servicebus" ];
pythonImportsCheck = lib.optionals isPy3k [
"azure.servicebus"
];
meta = with lib; {
description = "Microsoft Azure Service Bus Client Library";

View File

@ -1,28 +1,46 @@
{ stdenv
, lib
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
, isPy3k
, certifi
, cmake
, enum34
, openssl
, six
, CFNetwork
, cmake
, CoreFoundation
, enum34
, fetchpatch
, fetchPypi
, isPy3k
, openssl
, Security
, six
}:
buildPythonPackage rec {
pname = "uamqp";
version = "1.4.1";
version = "1.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-JNGlpu2HvwTGV77WnAQFyvJImHesE2R+ZwMAlhlyk2U=";
sha256 = "sha256-L4IQWnxRRL3yopNT91Mk8KKdph9Vg2PHkGH+86uDu7c=";
};
nativeBuildInputs = [
cmake
];
buildInputs = lib.optionals stdenv.isDarwin [
CoreFoundation
CFNetwork
Security
];
propagatedBuildInputs = [
certifi
openssl
six
] ++ lib.optionals (!isPy3k) [
enum34
];
patches = [
(fetchpatch {
url = "https://github.com/Azure/azure-c-shared-utility/commit/52ab2095649b5951e6af77f68954209473296983.patch";
@ -32,27 +50,15 @@ buildPythonPackage rec {
})
];
buildInputs = [
openssl
certifi
six
] ++ lib.optionals (!isPy3k) [
enum34
] ++ lib.optionals stdenv.isDarwin [
CoreFoundation
CFNetwork
Security
];
dontUseCmakeConfigure = true;
nativeBuildInputs = [
cmake
];
# has no tests
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"uamqp"
];
meta = with lib; {
description = "An AMQP 1.0 client library for Python";
homepage = "https://github.com/Azure/azure-uamqp-python";