blob: ce85c5b0d5b6dde3993d0939a1651948822c0765 (
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
41
|
{
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
pytestCheckHook,
typing-extensions,
}:
buildPythonPackage rec {
pname = "typing-inspection";
version = "0.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "pydantic";
repo = "typing-inspection";
tag = "v${version}";
hash = "sha256-aGScO+FLEJ5IyI6hBqdsiKJRN7vEG36V5131nhVZEbc=";
};
build-system = [ hatchling ];
dependencies = [
typing-extensions
];
pythonImportsCheck = [ "typing_inspection" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/pydantic/typing-inspection/blob/${src.tag}/HISTORY.md";
description = "Runtime typing introspection tools";
homepage = "https://github.com/pydantic/typing-inspection";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|