nixpkgs/pkgs/development/python-modules/botocore-stubs/default.nix

43 lines
781 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonOlder
, types-awscrt
, typing-extensions
}:
buildPythonPackage rec {
pname = "botocore-stubs";
version = "1.34.93";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "botocore_stubs";
inherit version;
hash = "sha256-IuceTFB98ukdVnPStlKBwRXUyNJgGjwkl8ejCf72oOw=";
};
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 ];
};
}