summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/typing-inspect/default.nix
blob: 16c8e8cba07e7b6700e18b6885ac42fc2ce1ed05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  typing-extensions,
  mypy-extensions,
  pytestCheckHook,
}:

buildPythonPackage {
  pname = "typing-inspect";
  version = "0.9.0-unstable-2025-10-20";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "ilevkivskyi";
    repo = "typing_inspect";
    rev = "58c98c084ebeb45ee51935506ed1cc3449105fa9";
    hash = "sha256-uGGtV32TGckoM3JALNu2OjIE+gmzJc7VMJlQeKJVFd8=";
  };

  build-system = [ setuptools ];

  dependencies = [
    typing-extensions
    mypy-extensions
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "typing_inspect" ];

  meta = {
    description = "Runtime inspection utilities for Python typing module";
    homepage = "https://github.com/ilevkivskyi/typing_inspect";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ albakham ];
  };
}