1{ stdenv, buildPythonApplication, fetchPypi
2, pytest, nose }:
3
4buildPythonApplication rec {
5 pname = "sybil";
6 version = "1.0.7";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "86332553392f865403883e44695bd8d9d47fe3887c01e17591955237b8fd2d8f";
11 };
12
13 checkInputs = [ pytest nose ];
14
15 checkPhase = ''
16 py.test tests
17 '';
18
19 meta = with stdenv.lib; {
20 description = "Automated testing for the examples in your documentation.";
21 homepage = https://github.com/cjw296/sybil/;
22 license = licenses.mit;
23 };
24}