depot/third_party/nixpkgs/pkgs/development/python-modules/mypy-boto3-s3/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

39 lines
773 B
Nix

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