Merge pull request #264321 from fsagbuya/sphinxcontrib-wavedrom
python3Packages.sphinxcontrib-wavedrom: init at 3.0.4
This commit is contained in:
commit
2fb4d5ad5a
2 changed files with 46 additions and 0 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue