blob: e230969c53d717f442965fafb8303fe1382f1475 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
importlib-resources,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "typeshed-client";
version = "2.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "JelleZijlstra";
repo = "typeshed_client";
tag = "v${version}";
hash = "sha256-+muWm2/Psp8V1n7mEloc+ltuwHG/uRvDUgSFRNzz5EQ=";
};
build-system = [ setuptools ];
dependencies = [
importlib-resources
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "typeshed_client" ];
enabledTestPaths = [ "tests/test.py" ];
meta = {
description = "Retrieve information from typeshed and other typing stubs";
homepage = "https://github.com/JelleZijlstra/typeshed_client";
changelog = "https://github.com/JelleZijlstra/typeshed_client/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|