blob: acf6a4c2dd24d88800bfdf249b08e98654f38250 (
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
42
43
44
45
46
47
48
49
50
|
{
lib,
async-generator,
buildPythonPackage,
fetchFromGitHub,
importlib-metadata,
mypy-extensions,
setuptools,
trio,
typing-extensions,
}:
buildPythonPackage rec {
pname = "trio-typing";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "python-trio";
repo = "trio-typing";
tag = "v${version}";
hash = "sha256-6IhPdPj+bHzMyt3uyqfX2UOuCmV8lb6vmgdlc5+9/4g=";
};
build-system = [ setuptools ];
dependencies = [
async-generator
importlib-metadata
mypy-extensions
trio
typing-extensions
];
pythonImportsCheck = [ "trio_typing" ];
# Module has no test
doCheck = false;
meta = {
description = "Type hints for Trio and related projects";
homepage = "https://github.com/python-trio/trio-typing";
changelog = "https://github.com/python-trio/trio-typing/releases/tag/${src.tag}";
license = with lib.licenses; [
mit
asl20
];
maintainers = with lib.maintainers; [ fab ];
};
}
|