python3Packages.django-flags: init at 5.2.0 (#500984)
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
django,
|
||||
django-debug-toolbar,
|
||||
fetchFromGitHub,
|
||||
jinja2,
|
||||
lib,
|
||||
pytest-django,
|
||||
pytestCheckHook,
|
||||
setuptools-scm,
|
||||
}:
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "django-flags";
|
||||
version = "5.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cfpb";
|
||||
repo = "django-flags";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-4UOueNXfDouTqpLpG391zcGHTTJ8GfznYmEl33YKdv8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
django
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export DJANGO_SETTINGS_MODULE=flags.tests.settings
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "flags" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
django-debug-toolbar
|
||||
jinja2
|
||||
pytest-django
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Feature flags for Django projects";
|
||||
homepage = "https://github.com/cfpb/django-flags";
|
||||
changelog = "https://github.com/cfpb/django-flags/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.cc0;
|
||||
maintainers = with lib.maintainers; [ kurogeek ];
|
||||
};
|
||||
})
|
||||
@@ -4184,6 +4184,8 @@ self: super: with self; {
|
||||
|
||||
django-filter = callPackage ../development/python-modules/django-filter { };
|
||||
|
||||
django-flags = callPackage ../development/python-modules/django-flags { };
|
||||
|
||||
django-formset-js-improved =
|
||||
callPackage ../development/python-modules/django-formset-js-improved
|
||||
{ };
|
||||
|
||||
Reference in New Issue
Block a user