1{ lib 2, buildPythonPackage 3, fetchPypi 4, attrs 5, boto3 6, cryptography 7, setuptools 8, wrapt 9, mock 10, pytest 11, pytest-mock 12, pytestCheckHook 13}: 14 15buildPythonPackage rec { 16 pname = "aws-encryption-sdk"; 17 version = "3.1.1"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-jV+/AY/GjWscrL5N0Df9gFKWx3Nqn+RX62hNBT9/lWM="; 22 }; 23 24 propagatedBuildInputs = [ 25 attrs 26 boto3 27 cryptography 28 setuptools 29 wrapt 30 ]; 31 32 doCheck = true; 33 34 nativeCheckInputs = [ 35 mock 36 pytest 37 pytest-mock 38 pytestCheckHook 39 ]; 40 41 disabledTestPaths = [ 42 # requires networking 43 "examples" 44 "test/integration" 45 ]; 46 47 meta = with lib; { 48 homepage = "https://aws-encryption-sdk-python.readthedocs.io/"; 49 changelog = "https://github.com/aws/aws-encryption-sdk-python/blob/v${version}/CHANGELOG.rst"; 50 description = "Fully compliant, native Python implementation of the AWS Encryption SDK."; 51 license = licenses.asl20; 52 maintainers = with maintainers; [ anthonyroussel ]; 53 }; 54}