python3Packages.django-dbbackup: init at 5.2.0 (#500634)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user