Commit b1770afd authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.typeshed-client: init at 2.4.0

Retrieve information from typeshed and other typing stubs

https://github.com/JelleZijlstra/typeshed_client
parent 249c4bf1
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
{ 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; [ ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };