2017-09-25 13:39:07 +02:00
|
|
|
{ buildPythonPackage, fetchPypi, python
|
|
|
|
, plaster, PasteDeploy
|
|
|
|
, pytest, pytestcov
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "plaster_pastedeploy";
|
2017-11-24 20:36:20 +01:00
|
|
|
version = "0.4.2";
|
2017-09-25 13:39:07 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-24 20:36:20 +01:00
|
|
|
sha256 = "2a401228c7cfbe38f728249e75af7a666f91c61d642cbb8fcb78a71df69d2754";
|
2017-09-25 13:39:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ plaster PasteDeploy ];
|
|
|
|
checkInputs = [ pytest pytestcov ];
|
|
|
|
}
|