Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
866 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, django, pydantic, hatchling, djangorestframework, pytestCheckHook,}:
buildPythonPackage rec { pname = "drf-pydantic"; version = "2.8.0"; pyproject = true;
src = fetchFromGitHub { owner = "georgebv"; repo = "drf-pydantic"; tag = "v${version}"; hash = "sha256-Kg+xQ5DgrQMtbga9BF1kmqX0zLAaxu26PnGn8SNVGN8="; };
build-system = [ hatchling ];
dependencies = [ django pydantic djangorestframework ];
nativeChecksInputs = [ pytestCheckHook ];
meta = with lib; { 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 = [ maintainers.kiara ]; license = licenses.mit; };}