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