3e7541c14f
GitOrigin-RevId: ff377a78794d412a35245e05428c8f95fef3951f
39 lines
767 B
Nix
39 lines
767 B
Nix
{ lib
|
|
, boto3
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mypy-boto3-s3";
|
|
version = "1.20.28";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "85ac23d06f9d0d794f60041b4c4f271d2bb8f5a83375c963e4a9e73e51ba9ca5";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|