Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyramid-mako / default.nix
blob11af19136137794b815a41760ace8484b6ab3ec5
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fetchpatch
5 , webtest
6 , pyramid
7 , mako
8 }:
10 buildPythonPackage rec {
11   pname = "pyramid-mako";
12   version = "1.1.0";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "0066c863441f1c3ddea60cee1ccc50d00a91a317a8052ca44131da1a12a840e2";
18   };
20   patches = [
21     # Fix tests with pyramid >= 2.0
22     # https://github.com/Pylons/pyramid_mako/pull/54
23     (fetchpatch {
24       url = "https://github.com/Pylons/pyramid_mako/commit/c0f9e7e0146a7f94e35a9401b1519ac8b7765f5b.patch";
25       sha256 = "15swfm0a07bdl32s85426rmjh72jwfasjcrl849ppg035z75q9fx";
26     })
27   ];
29   buildInputs = [ webtest ];
30   propagatedBuildInputs = [ pyramid mako ];
32   meta = with lib; {
33     homepage = "https://github.com/Pylons/pyramid_mako";
34     description = "Mako template bindings for the Pyramid web framework";
35     license = licenses.bsd0;
36     maintainers = with maintainers; [];
37   };