Commit 8479c7ea authored by Robert Schütz's avatar Robert Schütz
Browse files

python313Packages.typing-inspection: init at 0.4.0

parent 30220187
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  lib,
  pytestCheckHook,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "typing-inspection";
  version = "0.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pydantic";
    repo = "typing-inspection";
    tag = "v${version}";
    hash = "sha256-sWWO+TRqNf791s+q5YeEcl9ZMHCBuxQLGXHmEk1AU0Y=";
  };

  build-system = [ hatchling ];

  dependencies = [
    typing-extensions
  ];

  pythonImportsCheck = [ "typing_inspection" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/pydantic/typing-inspection/releases/tag/${src.tag}";
    description = "Runtime typing introspection tools";
    homepage = "https://github.com/pydantic/typing-inspection";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18386,6 +18386,8 @@ self: super: with self; {
  typing-inspect = callPackage ../development/python-modules/typing-inspect { };
  typing-inspection = callPackage ../development/python-modules/typing-inspection { };
  typing-validation = callPackage ../development/python-modules/typing-validation { };
  typish = callPackage ../development/python-modules/typish { };