Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 49 lines 869 B view raw
1{ lib 2, black 3, boto3 4, buildPythonPackage 5, fetchFromGitHub 6, jinja2 7, md-toc 8, isort 9, mdformat 10, pyparsing 11, pytestCheckHook 12, pythonOlder 13}: 14 15buildPythonPackage rec { 16 pname = "mypy-boto3-builder"; 17 version = "4.12.0"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "vemel"; 22 repo = "mypy_boto3_builder"; 23 rev = version; 24 sha256 = "09kbmrpnph5kbxlqqavpxg3l85dmk3vzmwawa4s09y9gknxxkcv9"; 25 }; 26 27 propagatedBuildInputs = [ 28 black 29 boto3 30 isort 31 jinja2 32 md-toc 33 mdformat 34 pyparsing 35 ]; 36 37 checkInputs = [ 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ "mypy_boto3_builder" ]; 42 43 meta = with lib; { 44 description = "Type annotations builder for boto3"; 45 homepage = "https://vemel.github.io/mypy_boto3_builder/"; 46 license = with licenses; [ bsd3 ]; 47 maintainers = with maintainers; [ fab ]; 48 }; 49}