blob: 153f8a79daf46cf5d1894ae9c231cd4b018e7173 (
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
47
48
49
50
51
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, importlib-resources
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "typeshed-client";
version = "2.5.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "JelleZijlstra";
repo = "typeshed_client";
rev = "refs/tags/v${version}";
hash = "sha256-lITreXYn/ZOc1fF2Sqcn8UDrZAjWYfjFSEaAxqTHb4s=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
importlib-resources
];
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; [ ];
};
}
|