depot/third_party/nixpkgs/pkgs/development/python-modules/mypy-boto3-s3/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

39 lines
754 B
Nix

{ lib
, boto3
, buildPythonPackage
, fetchPypi
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "mypy-boto3-s3";
version = "1.20.17";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7Zw8NxOEXDRmLChxHQXVU/HzR8z6HuLxX8bB3pZuCqc=";
};
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 ];
};
}