Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 69 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, attrs, boto3, buildPythonPackage, cryptography, fetchFromGitHub, mock, pytest-mock, pytestCheckHook, pythonOlder, setuptools, wrapt,}:
buildPythonPackage rec { pname = "aws-encryption-sdk"; version = "4.0.3"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "aws"; repo = "aws-encryption-sdk-python"; tag = "v${version}"; hash = "sha256-SlYXob61YLl96NKnmsGZTIU10bfwKYbhLsHjC/tXGI4="; };
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 = 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 ]; };}