My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/mypy-boto3-builder/default.nix

65 lines
1.1 KiB

{ lib
, black
, boto3
, buildPythonPackage
, fetchFromGitHub
, isort
, jinja2
, md-toc
, mdformat
, newversion
, poetry-core
, pyparsing
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "mypy-boto3-builder";
version = "7.5.5";
format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "vemel";
repo = "mypy_boto3_builder";
rev = version;
hash = "sha256-rv0c0QoXOd7aSOLhGDGfq4v0bnGBOJhGhZVNhS5hgOs=";
};
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 ];
};
}