Something went wrong. Try again.
lol
Something went wrong. Try again.
1.5 kB · 77 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{ lib, boto3, botocore, buildPythonPackage, fetchFromGitHub, jinja2, loguru, mdformat, packaging, prompt-toolkit, pytest-mock, pytestCheckHook, questionary, requests-mock, requests, ruff, setuptools, versionCheckHook,}:
buildPythonPackage rec { pname = "mypy-boto3-builder"; version = "8.12.0"; pyproject = true;
src = fetchFromGitHub { owner = "youtype"; repo = "mypy_boto3_builder"; tag = version; hash = "sha256-ZpZ//vFFxW1o9dEaCuO/8UHYM6lExvktYeNIiSrXR0Y="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "8.11.0"' 'version = "${version}"' '';
build-system = [ setuptools ];
dependencies = [ boto3 botocore jinja2 loguru mdformat packaging prompt-toolkit questionary requests ruff setuptools ];
nativeCheckInputs = [ pytest-mock pytestCheckHook requests-mock versionCheckHook ];
pythonImportsCheck = [ "mypy_boto3_builder" ];
disabledTests = [ # Tests require network access "TestBotocoreChangelogChangelog" ];
meta = { description = "Type annotations builder for boto3"; homepage = "https://github.com/youtype/mypy_boto3_builder"; changelog = "https://github.com/youtype/mypy_boto3_builder/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; mainProgram = "mypy_boto3_builder"; };}