c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
34 lines
769 B
Nix
34 lines
769 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cheetah3";
|
|
version = "3.3.3.post1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CheetahTemplate3";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-0NVKie/6Fp8T1O1fvrVorycybLrEXMY1yXZBDyxjpbE=";
|
|
};
|
|
|
|
doCheck = false; # Circular dependency
|
|
|
|
pythonImportsCheck = [
|
|
"Cheetah"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A 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 ];
|
|
};
|
|
}
|