d56f44df06
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{ lib
|
|
, black
|
|
, boto3
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, isort
|
|
, jinja2
|
|
, md-toc
|
|
, mdformat
|
|
, newversion
|
|
, poetry-core
|
|
, pyparsing
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mypy-boto3-builder";
|
|
version = "7.5.5";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vemel";
|
|
repo = "mypy_boto3_builder";
|
|
rev = version;
|
|
hash = "sha256-rv0c0QoXOd7aSOLhGDGfq4v0bnGBOJhGhZVNhS5hgOs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
black
|
|
boto3
|
|
isort
|
|
jinja2
|
|
md-toc
|
|
mdformat
|
|
newversion
|
|
pyparsing
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"mypy_boto3_builder"
|
|
];
|
|
|
|
disabledTests = [
|
|
# Tests require network access
|
|
"TestBotocoreChangelogChangelog"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Type annotations builder for boto3";
|
|
homepage = "https://vemel.github.io/mypy_boto3_builder/";
|
|
license = with licenses; [ bsd3 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|