1{ stdenv, buildPythonApplication, fetchPypi
2, pytest, nose }:
3
4buildPythonApplication rec {
5 pname = "sybil";
6 version = "1.0.9";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "41d2f1dba8fd1d8ead5e9b1220b590fab8b0d1ca01d43da08555b1fb08d4d8e8";
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}