python3Packages.uamqp: 1.4.1 -> 1.4.3

This commit is contained in:
Fabian Affolter
2021-11-21 11:40:50 +01:00
parent 293e6f0ce5
commit 130ef76ca7
@@ -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";