1{ lib
2, buildPythonPackage
3, fetchPypi
4, fetchpatch
5, plaster
6, pastedeploy
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "plaster-pastedeploy";
12 version = "0.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "c231130cb86ae414084008fe1d1797db7e61dc5eaafb5e755de21387c27c6fae";
17 };
18
19 patches = [
20 # Fix tests compatibility with pastedeploy 2+
21 # https://github.com/Pylons/plaster_pastedeploy/pull/17
22 (fetchpatch {
23 url = "https://github.com/Pylons/plaster_pastedeploy/commit/d77d81a57e917c67a20332beca8f418651172905.patch";
24 sha256 = "0n5vnqn8kad41kn9grcwiic6c6rhvy1ji3w81s2v9xyk0bd9yryf";
25 })
26 ];
27
28 propagatedBuildInputs = [ plaster pastedeploy ];
29
30 checkInputs = [ pytestCheckHook ];
31
32 meta = with lib; {
33 description = "PasteDeploy binding to the plaster configuration loader";
34 homepage = "https://github.com/Pylons/plaster_pastedeploy";
35 license = licenses.mit;
36 maintainers = with maintainers; [ ];
37 };
38}