Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 39 lines 900 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, CommonMark 6, docutils 7, sphinx 8}: 9 10buildPythonPackage rec { 11 pname = "recommonmark"; 12 version = "0.6.0"; 13 14 # PyPI tarball is missing some test files: https://github.com/rtfd/recommonmark/pull/128 15 src = fetchFromGitHub { 16 owner = "rtfd"; 17 repo = pname; 18 rev = version; 19 sha256 = "0m6qk17irka448vcz5b39yck1qsq90k98dmkx80mni0w00yq9ggd"; 20 }; 21 22 checkInputs = [ pytestCheckHook ]; 23 propagatedBuildInputs = [ CommonMark docutils sphinx ]; 24 25 dontUseSetuptoolsCheck = true; 26 27 disabledTests = [ 28 # https://github.com/readthedocs/recommonmark/issues/164 29 "test_lists" 30 "test_integration" 31 ]; 32 33 meta = { 34 description = "A docutils-compatibility bridge to CommonMark"; 35 homepage = https://github.com/rtfd/recommonmark; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ fridh ]; 38 }; 39}