d1c514502b
https://github.com/vitalik/django-ninja/releases/tag/v1.5.3 This commit was automatically generated using update-python-libraries.
48 lines
889 B
Nix
48 lines
889 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
django,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
psycopg2,
|
|
pydantic,
|
|
pytest-asyncio,
|
|
pytest-django,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-ninja";
|
|
version = "1.5.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vitalik";
|
|
repo = "django-ninja";
|
|
tag = "v${version}";
|
|
hash = "sha256-TmdwxOy+YwzEp/LrRb7/AqUahlmEodZdmswvfqtD5PY=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
django
|
|
pydantic
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
psycopg2
|
|
pytest-asyncio
|
|
pytest-django
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|