nixpkgs/pkgs/development/python-modules/botocore-stubs/default.nix
2023-09-29 00:00:17 +02:00

43 lines
785 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonOlder
, types-awscrt
, typing-extensions
}:
buildPythonPackage rec {
pname = "botocore-stubs";
version = "1.31.57";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "botocore_stubs";
inherit version;
hash = "sha256-4o88p6YnnwHc7EZjmAvoCqk9xOsu/MI5aFnOtkdiO4M=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
types-awscrt
typing-extensions
];
pythonImportsCheck = [
"botocore-stubs"
];
meta = with lib; {
description = "Type annotations and code completion for botocore";
homepage = "https://pypi.org/project/botocore-stubs/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}