python3Packages.django-pydantic-field: init at 0.3.13
This commit is contained in:
parent
9017f7ca49
commit
ff93fe2346
@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
django,
|
||||||
|
dj-database-url,
|
||||||
|
inflection,
|
||||||
|
pydantic,
|
||||||
|
pytestCheckHook,
|
||||||
|
pytest-django,
|
||||||
|
djangorestframework,
|
||||||
|
pyyaml,
|
||||||
|
setuptools,
|
||||||
|
syrupy,
|
||||||
|
uritemplate,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-pydantic-field";
|
||||||
|
version = "0.3.13";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "surenkov";
|
||||||
|
repo = "django-pydantic-field";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-RxZxDQZdFiT67YcAQtf4t42XU3XfzT3KS7ZCyfHZUOs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
django
|
||||||
|
pydantic
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-django
|
||||||
|
djangorestframework
|
||||||
|
dj-database-url
|
||||||
|
inflection
|
||||||
|
pyyaml
|
||||||
|
syrupy
|
||||||
|
uritemplate
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export DJANGO_SETTINGS_MODULE=tests.settings.django_test_settings
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/surenkov/django-pydantic-field/releases/tag/${src.tag}";
|
||||||
|
description = "Django JSONField with Pydantic models as a Schema";
|
||||||
|
homepage = "https://github.com/surenkov/django-pydantic-field";
|
||||||
|
maintainers = with lib.maintainers; [ kiara ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -3971,6 +3971,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
django-pwa = callPackage ../development/python-modules/django-pwa { };
|
django-pwa = callPackage ../development/python-modules/django-pwa { };
|
||||||
|
|
||||||
|
django-pydantic-field = callPackage ../development/python-modules/django-pydantic-field { };
|
||||||
|
|
||||||
django-q2 = callPackage ../development/python-modules/django-q2 { };
|
django-q2 = callPackage ../development/python-modules/django-q2 { };
|
||||||
|
|
||||||
django-ranged-response = callPackage ../development/python-modules/django-ranged-response { };
|
django-ranged-response = callPackage ../development/python-modules/django-ranged-response { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user