blob: ca01caa898f8b8dd7d49a74cb620ae1a79c1ccbf (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
# reverse dependencies
mashumaro,
pydantic,
}:
buildPythonPackage rec {
pname = "typing-extensions";
version = "4.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "python";
repo = "typing_extensions";
tag = version;
hash = "sha256-3oAlwvNSJ7NhPiHekh4SJI99cPFh29KCCR9314QzsvQ=";
};
build-system = [ flit-core ];
pythonImportsCheck = [ "typing_extensions" ];
passthru.tests = {
inherit mashumaro pydantic;
};
meta = {
description = "Backported and Experimental Type Hints for Python";
changelog = "https://github.com/python/typing_extensions/blob/${version}/CHANGELOG.md";
homepage = "https://github.com/python/typing";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ pmiddend ];
};
}
|