From 018764c3b3776ab2170a79d498339d18e0dd7129 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 1 Jul 2022 04:20:00 +0000 Subject: [PATCH] python310Packages.sphinx-comments: init at 0.0.3 --- .../sphinx-comments/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/sphinx-comments/default.nix diff --git a/pkgs/development/python-modules/sphinx-comments/default.nix b/pkgs/development/python-modules/sphinx-comments/default.nix new file mode 100644 index 00000000000..fc2e9517ce2 --- /dev/null +++ b/pkgs/development/python-modules/sphinx-comments/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildPythonPackage +, fetchPypi +, sphinx +}: + +buildPythonPackage rec { + pname = "sphinx-comments"; + version = "0.0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "00170afff27019fad08e421da1ae49c681831fb2759786f07c826e89ac94cf21"; + }; + + propagatedBuildInputs = [ sphinx ]; + + pythonImportsCheck = [ "sphinx_comments" ]; + + meta = with lib; { + description = "Add comments and annotation to your documentation"; + homepage = "https://github.com/executablebooks/sphinx-comments"; + license = licenses.mit; + maintainers = with maintainers; [ marsam ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 78c2dcfcc7f..a63ea851a3e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9982,6 +9982,8 @@ in { sphinx-better-theme = callPackage ../development/python-modules/sphinx-better-theme { }; + sphinx-comments = callPackage ../development/python-modules/sphinx-comments { }; + sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { }; sphinx-togglebutton = callPackage ../development/python-modules/sphinx-togglebutton { };