nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 65 lines 1.1 kB view raw
1{ lib 2, black 3, boto3 4, buildPythonPackage 5, fetchFromGitHub 6, isort 7, jinja2 8, md-toc 9, mdformat 10, newversion 11, poetry-core 12, pyparsing 13, pytestCheckHook 14, pythonOlder 15}: 16 17buildPythonPackage rec { 18 pname = "mypy-boto3-builder"; 19 version = "7.5.5"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.10"; 23 24 src = fetchFromGitHub { 25 owner = "vemel"; 26 repo = "mypy_boto3_builder"; 27 rev = version; 28 hash = "sha256-rv0c0QoXOd7aSOLhGDGfq4v0bnGBOJhGhZVNhS5hgOs="; 29 }; 30 31 nativeBuildInputs = [ 32 poetry-core 33 ]; 34 35 propagatedBuildInputs = [ 36 black 37 boto3 38 isort 39 jinja2 40 md-toc 41 mdformat 42 newversion 43 pyparsing 44 ]; 45 46 checkInputs = [ 47 pytestCheckHook 48 ]; 49 50 pythonImportsCheck = [ 51 "mypy_boto3_builder" 52 ]; 53 54 disabledTests = [ 55 # Tests require network access 56 "TestBotocoreChangelogChangelog" 57 ]; 58 59 meta = with lib; { 60 description = "Type annotations builder for boto3"; 61 homepage = "https://vemel.github.io/mypy_boto3_builder/"; 62 license = with licenses; [ bsd3 ]; 63 maintainers = with maintainers; [ fab ]; 64 }; 65}