Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "sybil"; 11 version = "6.0.3"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "simplistix"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-SqAP+hj+pivsuGxx9/TvmfVrfrLSWQRYIjKh0ui0AVc="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 # Circular dependency with testfixtures 26 doCheck = false; 27 28 pythonImportsCheck = [ "sybil" ]; 29 30 meta = with lib; { 31 description = "Automated testing for the examples in your documentation"; 32 homepage = "https://github.com/cjw296/sybil"; 33 changelog = "https://github.com/simplistix/sybil/blob/${version}/CHANGELOG.rst"; 34 license = licenses.mit; 35 maintainers = [ ]; 36 }; 37}