1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "sybil"; 10 version = "5.0.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "simplistix"; 17 repo = pname; 18 rev = "refs/tags/${version}"; 19 hash = "sha256-FeyamQDm/EqOWrRlxA8iIQniHI5xag+zUVfRGRHmslE="; 20 }; 21 22 # Circular dependency with testfixtures 23 doCheck = false; 24 25 pythonImportsCheck = [ 26 "sybil" 27 ]; 28 29 meta = with lib; { 30 description = "Automated testing for the examples in your documentation"; 31 homepage = "https://github.com/cjw296/sybil"; 32 changelog = "https://github.com/simplistix/sybil/blob/${version}/CHANGELOG.rst"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ ]; 35 }; 36}