blob: 4644bffdba25cbb4ff3b8f354509158947f1bc47 (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
webtest,
pyramid,
mako,
}:
buildPythonPackage rec {
pname = "pyramid-mako";
version = "1.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0066c863441f1c3ddea60cee1ccc50d00a91a317a8052ca44131da1a12a840e2";
};
patches = [
# Fix tests with pyramid >= 2.0
# https://github.com/Pylons/pyramid_mako/pull/54
(fetchpatch {
url = "https://github.com/Pylons/pyramid_mako/commit/c0f9e7e0146a7f94e35a9401b1519ac8b7765f5b.patch";
sha256 = "15swfm0a07bdl32s85426rmjh72jwfasjcrl849ppg035z75q9fx";
})
];
buildInputs = [ webtest ];
propagatedBuildInputs = [
pyramid
mako
];
meta = {
homepage = "https://github.com/Pylons/pyramid_mako";
description = "Mako template bindings for the Pyramid web framework";
license = lib.licenses.bsd0;
maintainers = [ ];
};
}
|