Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 83 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder,
# build-system poetry-core,
# dependencies django,
# optionals bleach, docutils, markdown, pygments, python-creole, smartypants, textile,
# tests pytest-cov-stub, pytest-django, pytestCheckHook,}:
buildPythonPackage rec { pname = "django-markup"; version = "1.10"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "bartTC"; repo = "django-markup"; tag = "v${version}"; hash = "sha256-LcEbN5/LbY3xWellBVK2Kfvt/XLzRJjGWcEk8h722Og="; };
build-system = [ poetry-core ];
dependencies = [ django ];
optional-dependencies = { all_filter_dependencies = [ bleach docutils markdown pygments python-creole smartypants textile ]; };
pythonImportsCheck = [ "django_markup" ];
nativeCheckInputs = [ pytest-cov-stub pytest-django pytestCheckHook ] ++ optional-dependencies.all_filter_dependencies;
disabledTests = [ # pygments compat issue "test_rst_with_pygments" ];
preCheck = '' export DJANGO_SETTINGS_MODULE=django_markup.tests '';
meta = with lib; { description = "Generic Django application to convert text with specific markup to html"; homepage = "https://github.com/bartTC/django-markup"; changelog = "https://github.com/bartTC/django-markup/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };}