python3Packages.mypy-boto3-s3: init at 1.17.71

This commit is contained in:
Fabian Affolter 2021-05-12 16:12:25 +02:00
parent a613984d8a
commit 33faf27e31
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, boto3
, buildPythonPackage
, fetchPypi
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "mypy-boto3-s3";
version = "1.17.71";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0zgx3f41j80xy203jwms7j72svxy10ry5v9w3ql817ai4lcrspnn";
};
propagatedBuildInputs = [
boto3
] ++ lib.optionals (pythonOlder "3.8") [
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 ];
};
}

View file

@ -4377,6 +4377,8 @@ in {
mypy-boto3-builder = callPackage ../development/python-modules/mypy-boto3-builder { };
mypy-boto3-s3 = callPackage ../development/python-modules/mypy-boto3-s3 { };
mypy-extensions = callPackage ../development/python-modules/mypy/extensions.nix { };
mypy-protobuf = callPackage ../development/python-modules/mypy-protobuf { };