at master 751 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "cheetah3"; 10 version = "3.4.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "CheetahTemplate3"; 17 repo = "cheetah3"; 18 tag = version; 19 hash = "sha256-yIdswcCuoDR3R/Subl22fKB55pgw/sDkrPy+vwNgaxI="; 20 }; 21 22 doCheck = false; # Circular dependency 23 24 pythonImportsCheck = [ "Cheetah" ]; 25 26 meta = with lib; { 27 description = "Template engine and code generation tool"; 28 homepage = "http://www.cheetahtemplate.org/"; 29 changelog = "https://github.com/CheetahTemplate3/cheetah3/releases/tag/${version}"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ pjjw ]; 32 }; 33}