Merge pull request #264321 from fsagbuya/sphinxcontrib-wavedrom

python3Packages.sphinxcontrib-wavedrom: init at 3.0.4
This commit is contained in:
OTABI Tomoya 2023-11-01 09:47:36 +09:00 committed by GitHub
commit 2fb4d5ad5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ 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 ];
};
}

View file

@ -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 { };