python312Packages.django-split-settings: init at 1.3.2 (#346531)

This commit is contained in:
OTABI Tomoya 2024-10-06 15:52:16 +09:00 committed by GitHub
commit fb3bb44432
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
poetry-core,
django,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "django-split-settings";
version = "1.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "wemake-services";
repo = "django-split-settings";
rev = version;
hash = "sha256-Bk2/DU+K524mCUvteWT0fIQH5ZgeMHiufMTF+dJYVtc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "poetry.masonry" "poetry.core.masonry"
'';
build-system = [ poetry-core ];
dependencies = [ django ];
pythonImportsCheck = [ "split_settings" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = {
description = "Organize Django settings into multiple files and directories";
homepage = "https://github.com/wemake-services/django-split-settings";
maintainers = with lib.maintainers; [ sikmir ];
license = lib.licenses.bsd3;
};
}

View File

@ -3470,6 +3470,8 @@ self: super: with self; {
django-scopes = callPackage ../development/python-modules/django-scopes { };
django-split-settings = callPackage ../development/python-modules/django-split-settings { };
djangoql = callPackage ../development/python-modules/djangoql { };
django-ranged-response = callPackage ../development/python-modules/django-ranged-response { };