Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.3 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, botocore 5, jmespath 6, s3transfer 7, setuptools 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "boto3"; 13 version = "1.26.79"; # N.B: if you change this, change botocore and awscli to a matching version 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "boto"; 18 repo = pname; 19 rev = version; 20 hash = "sha256-9Xsng4xZ+IGNZ3ViYVrOyKZdRH6QPSjZALj9Q3HECBU="; 21 }; 22 23 propagatedBuildInputs = [ 24 botocore 25 jmespath 26 s3transfer 27 setuptools 28 ]; 29 30 doCheck = true; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ 37 "boto3" 38 ]; 39 40 disabledTestPaths = [ 41 # Integration tests require networking 42 "tests/integration" 43 ]; 44 45 meta = with lib; { 46 homepage = "https://github.com/boto/boto3"; 47 changelog = "https://github.com/boto/boto3/blob/${version}/CHANGELOG.rst"; 48 license = licenses.asl20; 49 description = "AWS SDK for Python"; 50 longDescription = '' 51 Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for 52 Python, which allows Python developers to write software that makes use of 53 services like Amazon S3 and Amazon EC2. 54 ''; 55 maintainers = with maintainers; [ anthonyroussel ]; 56 }; 57}