1{ buildPythonPackage, fetchPypi, python
2, plaster, PasteDeploy
3, pytest, pytestcov
4}:
5
6buildPythonPackage rec {
7 pname = "plaster_pastedeploy";
8 version = "0.4.2";
9 name = "${pname}-${version}";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "2a401228c7cfbe38f728249e75af7a666f91c61d642cbb8fcb78a71df69d2754";
14 };
15
16 checkPhase = ''
17 py.test
18 '';
19
20 propagatedBuildInputs = [ plaster PasteDeploy ];
21 checkInputs = [ pytest pytestcov ];
22}