python3Packages.django-dbbackup: init at 5.2.0 (#500634)

This commit is contained in:
dotlambda
2026-03-27 16:36:58 +00:00
committed by GitHub
2 changed files with 58 additions and 0 deletions
@@ -0,0 +1,56 @@
{
buildPythonPackage,
django,
fetchFromGitHub,
gnupg,
lib,
psycopg2,
pytestCheckHook,
python-dotenv,
python-gnupg,
testfixtures,
writableTmpDirAsHomeHook,
hatchling,
}:
buildPythonPackage (finalAttrs: {
pname = "django-dbbackup";
version = "5.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Archmonger";
repo = "django-dbbackup";
tag = finalAttrs.version;
hash = "sha256-fl4ezDLHO6KwLfX5KMK9uMonONJCCDLyZUj9KMRZsGc=";
};
build-system = [ hatchling ];
dependencies = [
django
];
preCheck = ''
export DJANGO_SETTINGS_MODULE=tests.settings
'';
pythonImportsCheck = [ "dbbackup" ];
nativeCheckInputs = [
gnupg
python-gnupg
psycopg2
pytestCheckHook
python-dotenv
testfixtures
writableTmpDirAsHomeHook
];
meta = {
description = "Management commands to help backup and restore your project database and media files";
homepage = "https://github.com/Archmonger/django-dbbackup";
changelog = "https://github.com/Archmonger/django-dbbackup/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ kurogeek ];
};
})
+2
View File
@@ -4146,6 +4146,8 @@ self: super: with self; {
django-currentuser = callPackage ../development/python-modules/django-currentuser { };
django-dbbackup = callPackage ../development/python-modules/django-dbbackup { };
django-debug-toolbar = callPackage ../development/python-modules/django-debug-toolbar { };
django-dynamic-preferences =