depot/third_party/nixpkgs/pkgs/development/python-modules/breathe/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

44 lines
792 B
Nix

{ lib
, buildPythonPackage
, docutils
, fetchFromGitHub
, 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=";
};
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;
};
}