Diff: https://github.com/pydantic/typing-inspection/compare/refs/tags/v0.4.0...refs/tags/v0.4.1 Changelog: https://github.com/pydantic/typing-inspection/blob/v0.4.1/HISTORY.md
42 lines
880 B
Nix
42 lines
880 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
lib,
|
|
pytestCheckHook,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "typing-inspection";
|
|
version = "0.4.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pydantic";
|
|
repo = "typing-inspection";
|
|
tag = "v${version}";
|
|
hash = "sha256-MzOXl1i+rmr08TSH3Nxc0fFkcjATY6i9dFRLsYp+5m0=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [ "typing_inspection" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/pydantic/typing-inspection/blob/${src.tag}/HISTORY.md";
|
|
description = "Runtime typing introspection tools";
|
|
homepage = "https://github.com/pydantic/typing-inspection";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|