blob: 196c696ff542b654105fe933e1b5b0c55d3579d2 (
plain) (
blame)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
importlib-resources,
pytestCheckHook,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "typeshed-client";
version = "2.5.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "JelleZijlstra";
repo = "typeshed_client";
rev = "refs/tags/v${version}";
hash = "sha256-lITreXYn/ZOc1fF2Sqcn8UDrZAjWYfjFSEaAxqTHb4s=";
};
build-system = [ setuptools ];
dependencies = [
importlib-resources
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "typeshed_client" ];
pytestFlagsArray = [ "tests/test.py" ];
meta = with lib; {
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/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|