2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 16:08:22 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, chameleon
|
|
|
|
, pyramid
|
|
|
|
, zope_interface
|
|
|
|
, setuptools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyramid_chameleon";
|
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "d176792a50eb015d7865b44bd9b24a7bd0489fa9a5cebbd17b9e05048cef9017";
|
|
|
|
};
|
|
|
|
|
2019-04-19 01:48:51 +01:00
|
|
|
patches = [
|
|
|
|
# https://github.com/Pylons/pyramid_chameleon/pull/25
|
|
|
|
./test-renderers-pyramid-import.patch
|
|
|
|
];
|
|
|
|
|
2018-10-16 16:08:22 +01:00
|
|
|
propagatedBuildInputs = [ chameleon pyramid zope_interface setuptools ];
|
|
|
|
|
2021-02-16 22:21:12 +00:00
|
|
|
pythonImportsCheck = [ "pyramid_chameleon" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 16:08:22 +01:00
|
|
|
description = "Chameleon template compiler for pyramid";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Pylons/pyramid_chameleon";
|
2018-10-16 16:08:22 +01:00
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|