Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, black 3, boto3 4, buildPythonPackage 5, cryptography 6, fetchFromGitHub 7, isort 8, jinja2 9, md-toc 10, mdformat 11, newversion 12, poetry-core 13, pyparsing 14, pytestCheckHook 15, pythonOlder 16, setuptools 17}: 18 19buildPythonPackage rec { 20 pname = "mypy-boto3-builder"; 21 version = "7.19.0"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.10"; 25 26 src = fetchFromGitHub { 27 owner = "youtype"; 28 repo = "mypy_boto3_builder"; 29 rev = "refs/tags/${version}"; 30 hash = "sha256-Wczk1DNoOpvd7efnZFUf4FSjYqHdkMKMNwNVeQOPeEg="; 31 }; 32 33 nativeBuildInputs = [ 34 poetry-core 35 ]; 36 37 propagatedBuildInputs = [ 38 black 39 boto3 40 cryptography 41 isort 42 jinja2 43 md-toc 44 mdformat 45 newversion 46 pyparsing 47 setuptools 48 ]; 49 50 nativeCheckInputs = [ 51 pytestCheckHook 52 ]; 53 54 pythonImportsCheck = [ 55 "mypy_boto3_builder" 56 ]; 57 58 disabledTests = [ 59 # Tests require network access 60 "TestBotocoreChangelogChangelog" 61 ]; 62 63 meta = with lib; { 64 description = "Type annotations builder for boto3"; 65 homepage = "https://github.com/youtype/mypy_boto3_builder"; 66 changelog = "https://github.com/youtype/mypy_boto3_builder/releases/tag/${version}"; 67 license = with licenses; [ bsd3 ]; 68 maintainers = with maintainers; [ fab ]; 69 }; 70}