python312Packages.uamqp 1.6.5 -> 1.6.8 https://repology.org/project/python:uamqp/versions attrpath: python312Packages.uamqp Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/xn803xwn5cq6fx6kdi5r96pjnc41lj58-packages.json.drv building '/nix/store/xn803xwn5cq6fx6kdi5r96pjnc41lj58-packages.json.drv'... Going to be running update for following packages: - python3.12-uamqp-1.6.5 Press Enter key to continue... Running update for: - python3.12-uamqp-1.6.5: UPDATING ... - python3.12-uamqp-1.6.5: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/uamqp/default.nix b/pkgs/development/python-modules/uamqp/default.nix index f8d4cc0b9dd9..d222ea59e654 100644 --- a/pkgs/development/python-modules/uamqp/default.nix +++ b/pkgs/development/python-modules/uamqp/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "uamqp"; - version = "1.6.5"; + version = "1.6.8"; format = "setuptools"; src = fetchFromGitHub { owner = "Azure"; repo = "azure-uamqp-python"; rev = "refs/tags/v${version}"; - hash = "sha256-q8FxM4PBXLD5q68nrUJ+TGkui1yQJ3HHNF7jn+e+HkA="; + hash = "sha256-L4E7nnsVZ/VrOM0t4KtztU9ALmtGfi1vDzUi0ogtZOc="; }; patches = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ No auto update branch exists Old version 1.6.5" not present in master derivation file with contents: { lib , stdenv , buildPythonPackage , fetchFromGitHub , cython , certifi , CFNetwork , cmake , CoreFoundation , libcxxabi , openssl , Security , pytestCheckHook , pytest-asyncio }: buildPythonPackage rec { pname = "uamqp"; version = "1.6.8"; format = "setuptools"; src = fetchFromGitHub { owner = "Azure"; repo = "azure-uamqp-python"; rev = "refs/tags/v${version}"; hash = "sha256-L4E7nnsVZ/VrOM0t4KtztU9ALmtGfi1vDzUi0ogtZOc="; }; patches = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ ./darwin-azure-c-shared-utility-corefoundation.patch ] ++ [ # Fix incompatible function pointer conversion error with clang 16. ./clang-fix-incompatible-function-pointer-conversion.patch ]; postPatch = lib.optionalString (stdenv.isDarwin && !stdenv.isx86_64) '' # force darwin aarch64 to use openssl instead of applessl, removing # some quirks upstream thinks they need to use openssl on macos sed -i \ -e '/^use_openssl =/cuse_openssl = True' \ -e 's/\bazssl\b/ssl/' \ -e 's/\bazcrypto\b/crypto/' \ setup.py sed -i \ -e '/#define EVP_PKEY_id/d' \ src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c sed -z -i \ -e 's/OpenSSL 3\nif(LINUX)/OpenSSL 3\nif(1)/' \ src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/CMakeLists.txt ''; nativeBuildInputs = [ cmake cython ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ CoreFoundation CFNetwork Security ]; propagatedBuildInputs = [ certifi ]; LDFLAGS = lib.optionals stdenv.isDarwin [ "-L${lib.getLib libcxxabi}/lib" ]; dontUseCmakeConfigure = true; preCheck = '' # remove src module, so tests use the installed module instead rm -r uamqp ''; nativeCheckInputs = [ pytestCheckHook pytest-asyncio ]; pythonImportsCheck = [ "uamqp" ]; 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; [ maxwilson ]; }; }