Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
751 B
Nix
34 lines
751 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cheetah3";
|
|
version = "3.4.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CheetahTemplate3";
|
|
repo = "cheetah3";
|
|
tag = version;
|
|
hash = "sha256-yIdswcCuoDR3R/Subl22fKB55pgw/sDkrPy+vwNgaxI=";
|
|
};
|
|
|
|
doCheck = false; # Circular dependency
|
|
|
|
pythonImportsCheck = [ "Cheetah" ];
|
|
|
|
meta = with lib; {
|
|
description = "Template engine and code generation tool";
|
|
homepage = "http://www.cheetahtemplate.org/";
|
|
changelog = "https://github.com/CheetahTemplate3/cheetah3/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pjjw ];
|
|
};
|
|
}
|