nixpkgs/pkgs/development/python-modules/mypy-boto3-s3/default.nix
2021-06-22 13:42:34 +02:00

36 lines
759 B
Nix

{ lib
, boto3
, buildPythonPackage
, fetchPypi
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "mypy-boto3-s3";
version = "1.17.97";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "cc12897498213e6aa1530d9f75dadb3916fcd3ce376639560c2fede2c93c51b9";
};
propagatedBuildInputs = [
boto3
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "mypy_boto3_s3" ];
meta = with lib; {
description = "Type annotations for boto3";
homepage = "https://vemel.github.io/boto3_stubs_docs/mypy_boto3_s3/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}