1{ lib
2, boto3
3, buildPythonPackage
4, fetchPypi
5, pythonOlder
6, typing-extensions
7}:
8
9buildPythonPackage rec {
10 pname = "mypy-boto3-s3";
11 version = "1.17.71";
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "0zgx3f41j80xy203jwms7j72svxy10ry5v9w3ql817ai4lcrspnn";
17 };
18
19 propagatedBuildInputs = [
20 boto3
21 ] ++ lib.optionals (pythonOlder "3.8") [
22 typing-extensions
23 ];
24
25 # Project has no tests
26 doCheck = false;
27 pythonImportsCheck = [ "mypy_boto3_s3" ];
28
29 meta = with lib; {
30 description = "Type annotations for boto3";
31 homepage = "https://vemel.github.io/boto3_stubs_docs/mypy_boto3_s3/";
32 license = with licenses; [ bsd3 ];
33 maintainers = with maintainers; [ fab ];
34 };
35}