summary refs log tree commit diff
path: root/pkgs/development/python-modules/chameleon/default.nix
blob: a2ffcb9a0236a676abbf46ecefb82479d39d72a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
  pname = "Chameleon";
  version = "3.8.1";

  # tests not included in pypi tarball
  src = fetchFromGitHub {
    owner = "malthe";
    repo = "chameleon";
    rev = version;
    sha256 = "0nf8x4w2vh1a31wdb86nnvlic9xmr23j3in1f6fq4z6mv2jkwa87";
  };

  pythonImportsCheck = [ "chameleon" ];

  meta = with lib; {
    homepage = "https://chameleon.readthedocs.io/";
    description = "Fast HTML/XML Template Compiler";
    license = licenses.bsd0;
    maintainers = with maintainers; [ domenkozar ];
  };

}