mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
45 lines
782 B
Nix
45 lines
782 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, docutils
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, sphinx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "breathe";
|
|
version = "4.33.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michaeljones";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-S4wxlxluRjwlRGCa5Os/J3EpdekI/CEPMWw6j/wlZbw=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|