2020-03-03 09:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, nose
|
|
|
|
}:
|
2017-11-07 12:47:24 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2020-03-03 09:20:00 +00:00
|
|
|
pname = "sybil";
|
|
|
|
version = "1.2.2";
|
2017-11-07 12:47:24 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-03 09:20:00 +00:00
|
|
|
sha256 = "dd84e68facfcb778298ef50a4d7446d4d9092e9d8596012b12bcb82858fd10e1";
|
2017-11-07 12:47:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest nose ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test tests
|
|
|
|
'';
|
|
|
|
|
2020-03-03 09:20:00 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Automated testing for the examples in your documentation";
|
|
|
|
homepage = "https://github.com/cjw296/sybil";
|
|
|
|
license = licenses.mit;
|
2017-11-07 12:47:24 +00:00
|
|
|
};
|
|
|
|
}
|