1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4}:
5
6buildPythonPackage rec {
7 pname = "Chameleon";
8 version = "3.8.1";
9
10 # tests not included in pypi tarball
11 src = fetchFromGitHub {
12 owner = "malthe";
13 repo = "chameleon";
14 rev = version;
15 sha256 = "0nf8x4w2vh1a31wdb86nnvlic9xmr23j3in1f6fq4z6mv2jkwa87";
16 };
17
18 pythonImportsCheck = [ "chameleon" ];
19
20 meta = with lib; {
21 homepage = "https://chameleon.readthedocs.io/";
22 description = "Fast HTML/XML Template Compiler";
23 license = licenses.bsd0;
24 maintainers = with maintainers; [ domenkozar ];
25 };
26
27}