ebdb5f82c3
Without the change build fails at patch apply phase:
> applying patch /nix/store/dmbcdrjm61q5i0mndanj4zn8fkw7g5nj-de3504c81c7cefc87c8229743f93232ca00a685d.patch
> patching file tests/test_renderer.py
> Reversed (or previously applied) patch detected! Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file tests/test_renderer.py.rej
45 lines
798 B
Nix
45 lines
798 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, docutils
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, sphinx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "breathe";
|
|
version = "4.35.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michaeljones";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-LJXvtScyWRL8zfj877bJ4xuIbLV9IN3Sn9KPUTLMjMI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
docutils
|
|
sphinx
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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;
|
|
};
|
|
}
|