13 buildPythonPackage rec {
14 pname = "pydantic-compat";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
22 repo = "pydantic-compat";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-YJUfWu+nyGlwpJpxYghCKzj3CasdAaqYoNVCcfo/7YE=";
34 propagatedBuildInputs = [
43 pythonImportsCheck = [
48 description = "Compatibility layer for pydantic v1/v2";
49 homepage = "https://github.com/pyapp-kit/pydantic-compat";
50 changelog = "https://github.com/pyapp-kit/pydantic-compat/releases/tag/v${version}";
51 license = licenses.bsd3;
52 maintainers = with maintainers; [ fab ];