Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 888 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 defusedxml, 5 flit-core, 6 fetchFromGitHub, 7 pytestCheckHook, 8 pythonOlder, 9 sphinx, 10}: 11 12buildPythonPackage { 13 pname = "breathe"; 14 version = "4.35.0-unstable-2025-01-16"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitHub { 20 owner = "breathe-doc"; 21 repo = "breathe"; 22 rev = "9711e826e0c46a635715e5814a83cab9dda79b7b"; # 4.35.0 lacks sphinx 7.2+ compat 23 hash = "sha256-Ie+8RLWeBgbC4s3TC6ege2YNdfdM0d906BPxB7EOwq8="; 24 }; 25 26 build-system = [ flit-core ]; 27 28 dependencies = [ sphinx ]; 29 30 nativeCheckInputs = [ 31 defusedxml 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "breathe" ]; 36 37 meta = { 38 description = "Sphinx Doxygen renderer"; 39 mainProgram = "breathe-apidoc"; 40 homepage = "https://github.com/breathe-doc/breathe"; 41 license = lib.licenses.bsd3; 42 teams = [ lib.teams.sphinx ]; 43 }; 44}