nixpkgs/pkgs/development/python-modules/cheetah3/default.nix
2023-08-09 07:42:19 +00:00

34 lines
763 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "cheetah3";
version = "3.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CheetahTemplate3";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-okQz1wM3k43okKcZDRgHAnn5ScL0Pe1OtUvDBScEamY=";
};
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 ];
};
}