2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
black,
|
|
|
|
boto3,
|
|
|
|
buildPythonPackage,
|
|
|
|
cryptography,
|
|
|
|
fetchFromGitHub,
|
|
|
|
isort,
|
|
|
|
jinja2,
|
|
|
|
md-toc,
|
|
|
|
mdformat,
|
|
|
|
newversion,
|
|
|
|
pip,
|
|
|
|
poetry-core,
|
|
|
|
pyparsing,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
typing-extensions,
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mypy-boto3-builder";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "7.23.2";
|
2024-01-25 14:12:00 +00:00
|
|
|
pyproject = true;
|
2021-09-26 12:46:18 +00:00
|
|
|
|
2022-02-21 08:47:16 +00:00
|
|
|
disabled = pythonOlder "3.10";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-10-21 18:38:19 +00:00
|
|
|
owner = "youtype";
|
2021-05-20 23:08:51 +00:00
|
|
|
repo = "mypy_boto3_builder";
|
2022-11-21 17:40:18 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-v5/3TCEtDXbmitb3e15XWkW8VO5nJk8TCVvVyh5rAMs=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2021-09-26 12:46:18 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
black
|
|
|
|
boto3
|
2023-07-15 17:15:38 +00:00
|
|
|
cryptography
|
2021-05-20 23:08:51 +00:00
|
|
|
isort
|
|
|
|
jinja2
|
|
|
|
md-toc
|
|
|
|
mdformat
|
2022-02-21 08:47:16 +00:00
|
|
|
newversion
|
2024-01-25 14:12:00 +00:00
|
|
|
pip
|
2021-05-20 23:08:51 +00:00
|
|
|
pyparsing
|
2022-10-21 18:38:19 +00:00
|
|
|
setuptools
|
2024-01-25 14:12:00 +00:00
|
|
|
typing-extensions
|
2021-05-20 23:08:51 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "mypy_boto3_builder" ];
|
2021-09-26 12:46:18 +00:00
|
|
|
|
2022-02-21 08:47:16 +00:00
|
|
|
disabledTests = [
|
|
|
|
# Tests require network access
|
|
|
|
"TestBotocoreChangelogChangelog"
|
|
|
|
];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Type annotations builder for boto3";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "mypy_boto3_builder";
|
2022-09-09 14:08:57 +00:00
|
|
|
homepage = "https://github.com/youtype/mypy_boto3_builder";
|
2022-10-21 18:38:19 +00:00
|
|
|
changelog = "https://github.com/youtype/mypy_boto3_builder/releases/tag/${version}";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|