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:
parent
249c4bf19e
commit
b1770afd23
51
pkgs/development/python-modules/typeshed-client/default.nix
Normal file
51
pkgs/development/python-modules/typeshed-client/default.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user