depot/third_party/nixpkgs/pkgs/development/python-modules/cheetah3/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

34 lines
763 B
Nix

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