python3Packages.djangocms-alias: init at 2.0.1 (#355167)

This commit is contained in:
Yt 2024-11-15 17:57:38 -05:00 committed by GitHub
commit 889e8c78eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,66 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
pythonOlder,
pytestCheckHook,
setuptools,
django-parler,
django-cms,
distutils,
pytest-django,
beautifulsoup4,
python,
django-app-helper,
}:
buildPythonPackage rec {
pname = "djangocms-alias";
version = "2.0.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "django-cms";
repo = "djangocms-alias";
rev = "refs/tags/${version}";
hash = "sha256-ZOushwfBMjzlnuY6vHtM6Ge/VotBHaosIhFItmVkqkc=";
};
build-system = [ setuptools ];
dependencies = [
django
django-cms
django-parler
];
checkInputs = [
beautifulsoup4
distutils
django-app-helper
pytestCheckHook
pytest-django
];
checkPhase = ''
runHook preCheck
${python.interpreter} test_settings.py
runHook postCheck
'';
# Disable tests because dependency djangocms-versioning isn't packaged yet.
doCheck = false;
pythonImportCheck = [ "djangocms_alias" ];
meta = {
description = "Lean enterprise content management powered by Django";
homepage = "https://django-cms.org";
changelog = "https://github.com/django-cms/django-cms/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.onny ];
};
}

View File

@ -3325,6 +3325,8 @@ self: super: with self; {
djangocms-text-ckeditor = callPackage ../development/python-modules/djangocms-text-ckeditor { };
djangocms-alias = callPackage ../development/python-modules/djangocms-alias { };
django-admin-datta = callPackage ../development/python-modules/django-admin-datta { };
django-admin-sortable2 = callPackage ../development/python-modules/django-admin-sortable2 { };