nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 typing-extensions,
7 mypy-extensions,
8 pytestCheckHook,
9}:
10
11buildPythonPackage {
12 pname = "typing-inspect";
13 version = "0.9.0-unstable-2025-10-20";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "ilevkivskyi";
18 repo = "typing_inspect";
19 rev = "58c98c084ebeb45ee51935506ed1cc3449105fa9";
20 hash = "sha256-uGGtV32TGckoM3JALNu2OjIE+gmzJc7VMJlQeKJVFd8=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 typing-extensions
27 mypy-extensions
28 ];
29
30 nativeCheckInputs = [ pytestCheckHook ];
31
32 pythonImportsCheck = [ "typing_inspect" ];
33
34 meta = {
35 description = "Runtime inspection utilities for Python typing module";
36 homepage = "https://github.com/ilevkivskyi/typing_inspect";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ albakham ];
39 };
40}