Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
971 B · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, django, fetchFromGitHub, flit-core, psycopg2, pydantic, pytest-asyncio, pytest-django, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "django-ninja"; version = "1.4.3"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "vitalik"; repo = "django-ninja"; tag = "v${version}"; hash = "sha256-6uef+e1o7XTp5MRi/NpsJGCFT28bh2UnKdS2IfzzmAY="; };
build-system = [ flit-core ];
dependencies = [ django pydantic ];
nativeCheckInputs = [ psycopg2 pytest-asyncio pytest-django pytestCheckHook ];
meta = with lib; { changelog = "https://github.com/vitalik/django-ninja/releases/tag/${src.tag}"; description = "Web framework for building APIs with Django and Python type hints"; homepage = "https://django-ninja.dev"; license = licenses.mit; maintainers = with maintainers; [ elohmeier ]; };}