1{ lib
2, buildPythonPackage
3, docutils
4, fetchFromGitHub
5, pytestCheckHook
6, pythonOlder
7, sphinx
8}:
9
10buildPythonPackage rec {
11 pname = "breathe";
12 version = "4.34.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "michaeljones";
19 repo = pname;
20 rev = "refs/tags/v${version}";
21 hash = "sha256-OOc3XQjqQa0cVpA+/HHco+koL+0whUm5qC7x3xiEdwQ=";
22 };
23
24 propagatedBuildInputs = [
25 docutils
26 sphinx
27 ];
28
29 checkInputs = [
30 pytestCheckHook
31 ];
32
33 pythonImportsCheck = [
34 "breathe"
35 ];
36
37 meta = with lib; {
38 description = "Sphinx Doxygen renderer";
39 homepage = "https://github.com/michaeljones/breathe";
40 license = licenses.bsd3;
41 maintainers = with maintainers; [ ];
42 inherit (sphinx.meta) platforms;
43 };
44}