Unverified Commit 2fb4d5ad authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #264321 from fsagbuya/sphinxcontrib-wavedrom

python3Packages.sphinxcontrib-wavedrom: init at 3.0.4
parents 9a7ca05d 3d65cbd8
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools-scm
, sphinx
, wavedrom
, xcffib
, cairosvg
}:

buildPythonPackage rec {
  pname = "sphinxcontrib-wavedrom";
  version = "3.0.4";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-0zTHVBr9kXwMEo4VRTFsxdX2HI31DxdHfLUHCQmw1Ko=";
  };

  nativeBuildInputs = [ setuptools-scm ];

  propagatedBuildInputs = [
    sphinx
    wavedrom
    xcffib
    cairosvg
  ];

  # No tests included
  doCheck = false;

  pythonImportsCheck = [ "sphinxcontrib.wavedrom" ];

  pythonNamespaces = [ "sphinxcontrib" ];

  meta = with lib; {
    description = "A sphinx extension that allows including wavedrom diagrams by using its text-based representation";
    homepage = "https://github.com/bavovanachte/sphinx-wavedrom";
    license = licenses.mit;
    maintainers = with maintainers; [ fsagbuya ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13244,6 +13244,8 @@ self: super: with self; {
    texLive = pkgs.texlive.combine { inherit (pkgs.texlive) scheme-small standalone pgfplots; };
  };
  sphinxcontrib-wavedrom = callPackage ../development/python-modules/sphinxcontrib-wavedrom { };
  sphinxcontrib-websupport = callPackage ../development/python-modules/sphinxcontrib-websupport { };
  sphinxcontrib-youtube = callPackage ../development/python-modules/sphinxcontrib-youtube { };