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