python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / typeshed-client / default.nix
blob3ed7693ce8874f16fa1a8f2fb0a5547bee6272e1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   importlib-resources,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9   typing-extensions,
12 buildPythonPackage rec {
13   pname = "typeshed-client";
14   version = "2.7.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "JelleZijlstra";
21     repo = "typeshed_client";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-dEfKZ930Jxa84HUqKpsL2JWQLeeWx6gIMtFHTbiw3Es=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [
29     importlib-resources
30     typing-extensions
31   ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   pythonImportsCheck = [ "typeshed_client" ];
37   pytestFlagsArray = [ "tests/test.py" ];
39   meta = with lib; {
40     description = "Retrieve information from typeshed and other typing stubs";
41     homepage = "https://github.com/JelleZijlstra/typeshed_client";
42     changelog = "https://github.com/JelleZijlstra/typeshed_client/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = [ ];
45   };