Something went wrong. Try again.
lol
Something went wrong. Try again.
943 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, django, pydantic, hatchling, djangorestframework, pytestCheckHook, pytest-cov-stub,}:
buildPythonPackage rec { pname = "drf-pydantic"; version = "2.9.1"; pyproject = true;
src = fetchFromGitHub { owner = "georgebv"; repo = "drf-pydantic"; tag = "v${version}"; hash = "sha256-/dMhKlAMAh63JlhanfSfe15ECMZvtnd1huD8L3Xo2AQ="; };
build-system = [ hatchling ];
dependencies = [ django pydantic djangorestframework ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub pydantic.optional-dependencies.email ];
meta = { changelog = "https://github.com/georgebv/drf-pydantic/releases/tag/${src.tag}"; description = "Use pydantic with the Django REST framework"; homepage = "https://github.com/georgebv/drf-pydantic"; maintainers = [ lib.maintainers.kiara ]; license = lib.licenses.mit; };}