Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / botocore-stubs / default.nix
blob0d65528f6dfac6b89000309246cccadf005b2504
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , poetry-core
5 , pythonOlder
6 , types-awscrt
7 , typing-extensions
8 }:
10 buildPythonPackage rec {
11   pname = "botocore-stubs";
12   version = "1.31.79";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "botocore_stubs";
19     inherit version;
20     hash = "sha256-ZEiLnziQX4pgBBmY+dyUV1QiLZAKM0W0SQWWZ4kMLBc=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   propagatedBuildInputs = [
28     types-awscrt
29     typing-extensions
30   ];
32   pythonImportsCheck = [
33     "botocore-stubs"
34   ];
36   meta = with lib; {
37     description = "Type annotations and code completion for botocore";
38     homepage = "https://pypi.org/project/botocore-stubs/";
39     license = licenses.mit;
40     maintainers = with maintainers; [ fab ];
41   };