792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
40 lines
776 B
Nix
40 lines
776 B
Nix
{ lib
|
|
, boto3
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mypy-boto3-s3";
|
|
version = "1.21.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3P3dThYXpmtZ/cn+NCDS9RNtu6N48Vb78ZqmCdkTK50=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
boto3
|
|
] ++ lib.optionals (pythonOlder "3.9") [
|
|
typing-extensions
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"mypy_boto3_s3"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|