Files
nixpkgs/pkgs/development/python-modules/awscrt/default.nix
Fabian Affolter 344b5e4a23 python3Packages.awscrt: 0.33.0 -> 0.36.2
https://github.com/awslabs/aws-crt-python/releases/tag/v0.36.2

This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:06 +02:00

43 lines
1020 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
cmake,
perl,
stdenv,
}:
buildPythonPackage (finalAttrs: {
pname = "awscrt";
version = "0.36.2";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-amrRccw7snY/sAbJxcHD34XZwdMLLKCQjOU55e5pRik=";
};
build-system = [ setuptools ];
nativeBuildInputs = [ cmake ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ perl ];
hardeningDisable = [ "fortify" ]; # needed for jitterentropy
dontUseCmakeConfigure = true;
pythonImportsCheck = [ "awscrt" ];
# Unable to import test module
# https://github.com/awslabs/aws-crt-python/issues/281
doCheck = false;
meta = {
homepage = "https://github.com/awslabs/aws-crt-python";
changelog = "https://github.com/awslabs/aws-crt-python/releases/tag/v${finalAttrs.version}";
description = "Python bindings for the AWS Common Runtime";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ davegallant ];
};
})