depot/third_party/nixpkgs/pkgs/development/python-modules/mypy-boto3-builder/default.nix
Default email 871149a62e Project import generated by Copybara.
GitOrigin-RevId: 7f9b6e2babf232412682c09e57ed666d8f84ac2d
2022-02-21 09:47:16 +01:00

65 lines
1.1 KiB
Nix

{ lib
, black
, boto3
, buildPythonPackage
, fetchFromGitHub
, isort
, jinja2
, md-toc
, mdformat
, newversion
, poetry-core
, pyparsing
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "mypy-boto3-builder";
version = "7.1.2";
format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "vemel";
repo = "mypy_boto3_builder";
rev = version;
hash = "sha256-p81Dk6Kv0MzHvexhM8Su5/yIpB+ZGBFqOtm0D18l26s=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
black
boto3
isort
jinja2
md-toc
mdformat
newversion
pyparsing
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mypy_boto3_builder"
];
disabledTests = [
# Tests require network access
"TestBotocoreChangelogChangelog"
];
meta = with lib; {
description = "Type annotations builder for boto3";
homepage = "https://vemel.github.io/mypy_boto3_builder/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}