1{ lib
2, buildPythonPackage
3, fetchPypi
4, typing-extensions
5, mypy-extensions
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "typing-inspect";
11 version = "0.8.0";
12
13 src = fetchPypi {
14 inherit version;
15 pname = "typing_inspect";
16 hash = "sha256-ix/wxACUO2FF34EZxBwkTKggfx8QycBXru0VYOSAbj0=";
17 };
18
19 propagatedBuildInputs = [
20 typing-extensions
21 mypy-extensions
22 ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 ];
27
28 disabledTests = [
29 # https://github.com/ilevkivskyi/typing_inspect/issues/84
30 "test_typed_dict_typing_extension"
31 ];
32
33 pythonImportsCheck = [
34 "typing_inspect"
35 ];
36
37 meta = with lib; {
38 description = "Runtime inspection utilities for Python typing module";
39 homepage = "https://github.com/ilevkivskyi/typing_inspect";
40 license = licenses.mit;
41 maintainers = with maintainers; [ albakham ];
42 };
43}