mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python3Packages.djangocms-alias: init at 2.0.1 (#355167)
This commit is contained in:
commit
889e8c78eb
66
pkgs/development/python-modules/djangocms-alias/default.nix
Normal file
66
pkgs/development/python-modules/djangocms-alias/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user