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