Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 66 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, attrs, boto3, buildPythonPackage, cryptography, fetchFromGitHub, mock, pytest-mock, pytestCheckHook, setuptools, wrapt,}:
buildPythonPackage (finalAttrs: { pname = "aws-encryption-sdk"; version = "4.0.4"; pyproject = true;
src = fetchFromGitHub { owner = "aws"; repo = "aws-encryption-sdk-python"; tag = "v${finalAttrs.version}"; hash = "sha256-u0Fu6ikUJ70RQgptsAGbzmx3+FpXGTpN4Y2rKOSgO2o="; };
build-system = [ setuptools ];
dependencies = [ attrs boto3 cryptography wrapt ];
nativeCheckInputs = [ mock pytest-mock pytestCheckHook ];
enabledTestPaths = [ "test" ];
disabledTestPaths = [ # Tests require networking "examples" "test/integration" # requires yet to be packaged aws-cryptographic-material-providers "test/mpl" ];
disabledTests = [ # pytest 8 compat issue "test_happy_version" ];
pythonImportsCheck = [ "aws_encryption_sdk" ];
meta = { description = "Python implementation of the AWS Encryption SDK"; homepage = "https://aws-encryption-sdk-python.readthedocs.io/"; changelog = "https://github.com/aws/aws-encryption-sdk-python/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ anthonyroussel ]; };})