1{ lib
2, buildPythonPackage
3, fetchPypi
4, chameleon
5, pyramid
6, zope_interface
7, setuptools
8}:
9
10buildPythonPackage rec {
11 pname = "pyramid_chameleon";
12 version = "0.3";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "d176792a50eb015d7865b44bd9b24a7bd0489fa9a5cebbd17b9e05048cef9017";
17 };
18
19 patches = [
20 # https://github.com/Pylons/pyramid_chameleon/pull/25
21 ./test-renderers-pyramid-import.patch
22 ];
23
24 propagatedBuildInputs = [ chameleon pyramid zope_interface setuptools ];
25
26 pythonImportsCheck = [ "pyramid_chameleon" ];
27
28 meta = with lib; {
29 description = "Chameleon template compiler for pyramid";
30 homepage = "https://github.com/Pylons/pyramid_chameleon";
31 license = licenses.bsd0;
32 maintainers = with maintainers; [ domenkozar ];
33 };
34}