1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "sybil";
10 version = "3.0.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-bwLcIgSvflohIDeSTZdPcngfbcGP08RMx85GOhIPUw0=";
18 };
19
20 checkInputs = [
21 pytestCheckHook
22 ];
23
24 disabledTests = [
25 # Sensitive to output of other commands
26 "test_namespace"
27 "test_unittest"
28 ];
29
30 pythonImportsCheck = [
31 "sybil"
32 ];
33
34 meta = with lib; {
35 description = "Automated testing for the examples in your documentation";
36 homepage = "https://github.com/cjw296/sybil";
37 license = licenses.mit;
38 maintainers = with maintainers; [ ];
39 };
40}