depot/third_party/nixpkgs/pkgs/development/python-modules/mypy-boto3-builder/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

61 lines
1 KiB
Nix

{ lib
, black
, boto3
, buildPythonPackage
, fetchFromGitHub
, isort
, jinja2
, md-toc
, mdformat
, poetry-core
, pyparsing
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "mypy-boto3-builder";
version = "5.5.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "vemel";
repo = "mypy_boto3_builder";
rev = version;
sha256 = "sha256-cFe8d6w28VFTNyj/ABWHkFQDfnM4aTrNZ+WUw5g8H5I=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
black
boto3
isort
jinja2
md-toc
mdformat
pyparsing
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Should be fixed with 5.x
"test_get_types"
];
pythonImportsCheck = [ "mypy_boto3_builder" ];
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 ];
};
}