Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, attrs, boto3, buildPythonPackage, cryptography, fetchPypi, mock, pytest-mock, pytestCheckHook, pythonOlder, setuptools, wrapt,}:
buildPythonPackage rec { pname = "aws-encryption-sdk"; version = "4.0.1"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-cyDcTPjY1am0yIo0O+k4NdoYdW4FMI01NlVL4MooiaU="; };
build-system = [ setuptools ];
dependencies = [ attrs boto3 cryptography wrapt ];
nativeCheckInputs = [ mock pytest-mock pytestCheckHook ];
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 = with lib; { 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/v${version}/CHANGELOG.rst"; license = licenses.asl20; maintainers = with maintainers; [ anthonyroussel ]; };}