Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 53 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 cmarkgfm, 5 docutils, 6 fetchPypi, 7 nh3, 8 pygments, 9 pytestCheckHook, 10 pythonOlder, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "readme-renderer"; 16 version = "44.0"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; 20 21 src = fetchPypi { 22 pname = "readme_renderer"; 23 inherit version; 24 hash = "sha256-hxIDTqu/poBcrPFAK07rKnMCj3LRFm1vXLf5wEfF0eE="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 docutils 31 nh3 32 pygments 33 ]; 34 35 optional-dependencies.md = [ cmarkgfm ]; 36 37 nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.md; 38 39 disabledTests = [ 40 "test_rst_fixtures" 41 "test_rst_008.rst" 42 ]; 43 44 pythonImportsCheck = [ "readme_renderer" ]; 45 46 meta = with lib; { 47 description = "Python library for rendering readme descriptions"; 48 homepage = "https://github.com/pypa/readme_renderer"; 49 changelog = "https://github.com/pypa/readme_renderer/releases/tag/${version}"; 50 license = with licenses; [ asl20 ]; 51 maintainers = with maintainers; [ fab ]; 52 }; 53}