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";
|
2020-08-16 18:31:17 +01:00
|
|
|
version = "1.4.0";
|
2017-11-07 12:47:24 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:17 +01:00
|
|
|
sha256 = "fc46117619f2f704d1d1b02634fa3285f40479a3008172763b9998fe964f4d11";
|
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
|
|
|
};
|
|
|
|
}
|