c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
41 lines
858 B
Nix
41 lines
858 B
Nix
{ lib
|
|
, boto3
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mypy-boto3-s3";
|
|
version = "1.28.27";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-8QlDRPaNH/4rmYQE4uT/mqQjlDhpIYf6g617c0c5mRw=";
|
|
};
|
|
|
|
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.s3";
|
|
homepage = "https://github.com/youtype/mypy_boto3_builder";
|
|
changelog = "https://github.com/youtype/mypy_boto3_builder/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|