Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 71 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ lib, buildPythonPackage, pythonOlder, fetchPypi, isPyPy,
# build-system setuptools,
# propagates markupsafe,
# optional-dependencies babel, lingua,
# tests chameleon, mock, pytestCheckHook,}:
buildPythonPackage rec { pname = "mako"; version = "1.3.3"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { pname = "Mako"; inherit version; hash = "sha256-4WwB2aucEfcpDu8c/vwJP7WkXuSj2gni/sLk0brlTnM="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ markupsafe ];
passthru.optional-dependencies = { babel = [ babel ]; lingua = [ lingua ]; };
nativeCheckInputs = [ chameleon mock pytestCheckHook ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
disabledTests = lib.optionals isPyPy [ # https://github.com/sqlalchemy/mako/issues/315 "test_alternating_file_names" # https://github.com/sqlalchemy/mako/issues/238 "test_file_success" "test_stdin_success" # fails on pypy2.7 "test_bytestring_passthru" ];
meta = with lib; { description = "Super-fast templating language"; mainProgram = "mako-render"; homepage = "https://www.makotemplates.org/"; changelog = "https://docs.makotemplates.org/en/latest/changelog.html"; license = licenses.mit; platforms = platforms.unix; maintainers = with maintainers; [ domenkozar ]; };}