python311Packages.sphinx-comments: fix build

This commit is contained in:
Mario Rodas 2024-01-17 04:20:00 +00:00
parent ff7cac1ac9
commit d0ce699c97

View file

@ -1,19 +1,22 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools
, sphinx , sphinx
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sphinx-comments"; pname = "sphinx-comments";
version = "0.0.3"; version = "0.0.3";
format = "pyproject"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "00170afff27019fad08e421da1ae49c681831fb2759786f07c826e89ac94cf21"; sha256 = "00170afff27019fad08e421da1ae49c681831fb2759786f07c826e89ac94cf21";
}; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ sphinx ]; propagatedBuildInputs = [ sphinx ];
pythonImportsCheck = [ "sphinx_comments" ]; pythonImportsCheck = [ "sphinx_comments" ];