1{ lib
2, black
3, boto3
4, buildPythonPackage
5, fetchFromGitHub
6, isort
7, jinja2
8, md-toc
9, mdformat
10, poetry-core
11, pyparsing
12, pytestCheckHook
13, pythonOlder
14}:
15
16buildPythonPackage rec {
17 pname = "mypy-boto3-builder";
18 version = "5.5.0";
19 format = "pyproject";
20
21 disabled = pythonOlder "3.8";
22
23 src = fetchFromGitHub {
24 owner = "vemel";
25 repo = "mypy_boto3_builder";
26 rev = version;
27 sha256 = "sha256-cFe8d6w28VFTNyj/ABWHkFQDfnM4aTrNZ+WUw5g8H5I=";
28 };
29
30 nativeBuildInputs = [
31 poetry-core
32 ];
33
34 propagatedBuildInputs = [
35 black
36 boto3
37 isort
38 jinja2
39 md-toc
40 mdformat
41 pyparsing
42 ];
43
44 checkInputs = [
45 pytestCheckHook
46 ];
47
48 disabledTests = [
49 # Should be fixed with 5.x
50 "test_get_types"
51 ];
52
53 pythonImportsCheck = [ "mypy_boto3_builder" ];
54
55 meta = with lib; {
56 description = "Type annotations builder for boto3";
57 homepage = "https://vemel.github.io/mypy_boto3_builder/";
58 license = with licenses; [ bsd3 ];
59 maintainers = with maintainers; [ fab ];
60 };
61}