nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage rec {
8 pname = "cheetah3";
9 version = "3.4.0.post5";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "CheetahTemplate3";
14 repo = "cheetah3";
15 tag = version;
16 hash = "sha256-qWV6ncSe4JbGZD7sLc/kEXY1pUM1II24UgsS/zX872Y=";
17 };
18
19 doCheck = false; # Circular dependency
20
21 pythonImportsCheck = [ "Cheetah" ];
22
23 meta = {
24 description = "Template engine and code generation tool";
25 homepage = "http://www.cheetahtemplate.org/";
26 changelog = "https://github.com/CheetahTemplate3/cheetah3/releases/tag/${version}";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ pjjw ];
29 };
30}