python311Packages.typeshed-client: init at 2.4.0

Retrieve information from typeshed and other typing stubs

https://github.com/JelleZijlstra/typeshed_client
This commit is contained in:
Fabian Affolter 2024-01-23 09:58:23 +01:00
parent 249c4bf19e
commit b1770afd23
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, importlib-resources
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "typeshed-client";
version = "2.4.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "JelleZijlstra";
repo = "typeshed_client";
rev = "refs/tags/v${version}";
hash = "sha256-g3FECKebKeM3JPWem6+Y9T27PcAxVxj1SiBd5siLSJ4=";
};
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; [ ];
};
}

View File

@ -15554,6 +15554,8 @@ self: super: with self; {
typesentry = callPackage ../development/python-modules/typesentry { };
typeshed-client = callPackage ../development/python-modules/typeshed-client { };
typesystem = callPackage ../development/python-modules/typesystem { };
typical = callPackage ../development/python-modules/typical { };