Skip to content

Commit

Permalink
sphinxcontrib-moderncmakedomain init at 3.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jhol committed Jun 3, 2024
1 parent 79b7f3a commit 5bc0cab
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, defusedxml
, fetchPypi
, hatchling
, pytest
, sphinx
}:

buildPythonPackage rec {
pname = "sphinxcontrib-moderncmakedomain";
version = "3.29.0";
pyproject = true;

src = fetchPypi {
inherit version;
pname = "sphinxcontrib_moderncmakedomain";
hash = "sha256-NYfe8kH/JXfQu+8RgQoILp3sG3ij1LSgZiQLXz3BtbI=";
};

nativeBuildInputs = [
hatchling
sphinx
];

nativeCheckInputs = [
defusedxml
pytest
sphinx
];

checkPhase = ''
runHook preCheck
pytest tests/
runHook postCheck
'';

pythonNamespaces = [ "sphinxcontrib" ];

meta = with lib; {
description = "Sphinx extension which renders CMake documentation";
homepage = "https://github.com/scikit-build/moderncmakedomain";
license = licenses.bsd3;
maintainers = teams.sphinx.members;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14370,6 +14370,8 @@ self: super: with self; {

sphinxcontrib-log-cabinet = callPackage ../development/python-modules/sphinxcontrib-log-cabinet { };

sphinxcontrib-moderncmakedomain = callPackage ../development/python-modules/sphinxcontrib-moderncmakedomain { };

sphinxcontrib-nwdiag = callPackage ../development/python-modules/sphinxcontrib-nwdiag { };

sphinxcontrib-newsfeed = callPackage ../development/python-modules/sphinxcontrib-newsfeed { };
Expand Down

0 comments on commit 5bc0cab

Please sign in to comment.