depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-wavedrom/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

44 lines
891 B
Nix

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