2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, boto3
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, typing-extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mypy-boto3-s3";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.20.17";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-7Zw8NxOEXDRmLChxHQXVU/HzR8z6HuLxX8bB3pZuCqc=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
boto3
|
2021-10-28 06:52:43 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.9") [
|
2021-05-20 23:08:51 +00:00
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"mypy_boto3_s3"
|
|
|
|
];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Type annotations for boto3";
|
|
|
|
homepage = "https://vemel.github.io/boto3_stubs_docs/mypy_boto3_s3/";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|