Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ 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.4"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "django-cms"; repo = "djangocms-alias"; tag = version; hash = "sha256-0lIhPgI+HbAKX9wEpZ/v40OHvN6WWK9ehFxIcpzdcq8="; };
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;
pythonImportsCheck = [ "djangocms_alias" ];
meta = { description = "Lean enterprise content management powered by Django"; homepage = "https://django-cms.org"; changelog = "https://github.com/django-cms/djangocms-alias/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.onny ]; };}