2021-05-12 15:12:25 +01:00
|
|
|
{ lib
|
|
|
|
, boto3
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, typing-extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mypy-boto3-s3";
|
2022-02-25 04:08:32 +00:00
|
|
|
version = "1.21.7";
|
2022-02-15 08:05:40 +00:00
|
|
|
format = "setuptools";
|
2021-10-22 08:05:34 +01:00
|
|
|
|
2021-05-12 15:12:25 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-25 04:08:32 +00:00
|
|
|
hash = "sha256-SWzL6AMXoZzYw3LwrBdvbe9JzLMudZioKZWo7HtHM8U=";
|
2021-05-12 15:12:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
boto3
|
2021-10-22 08:05:34 +01:00
|
|
|
] ++ lib.optionals (pythonOlder "3.9") [
|
2021-05-12 15:12:25 +01:00
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-10-22 08:05:34 +01:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"mypy_boto3_s3"
|
|
|
|
];
|
2021-05-12 15:12:25 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|