Files
Martin Weinelt be25b313c6 python3Packages.drf-standardized-errors: 0.14.1 -> 0.15.0
https://github.com/ghazi-git/drf-standardized-errors/releases/tag/v0.15.0

This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:13 +02:00

59 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
flit-core,
django,
djangorestframework,
drf-spectacular,
inflection,
pytestCheckHook,
pytest-django,
django-filter,
}:
buildPythonPackage rec {
pname = "drf-standardized-errors";
version = "0.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ghazi-git";
repo = "drf-standardized-errors";
tag = "v${version}";
hash = "sha256-OM1bTqM3yQSPuerTrq5FKTf5eKpZsF6/QgupMtnnT4Q=";
};
build-system = [ flit-core ];
dependencies = [
django
djangorestframework
];
nativeCheckInputs = [
pytestCheckHook
pytest-django
django-filter
drf-spectacular
];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
pythonImportsCheck = [ "drf_standardized_errors" ];
optional-dependencies.openapi = [
drf-spectacular
inflection
];
meta = with lib; {
description = "Standardize your DRF API error responses";
homepage = "https://github.com/ghazi-git/drf-standardized-errors";
changelog = "https://github.com/ghazi-git/drf-standardized-errors/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}