Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 setuptools-scm, 7 sphinx, 8 wavedrom, 9 xcffib, 10 cairosvg, 11}: 12 13buildPythonPackage rec { 14 pname = "sphinxcontrib-wavedrom"; 15 version = "3.0.4"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-0zTHVBr9kXwMEo4VRTFsxdX2HI31DxdHfLUHCQmw1Ko="; 21 }; 22 23 nativeBuildInputs = [ setuptools-scm ]; 24 25 propagatedBuildInputs = [ 26 sphinx 27 wavedrom 28 xcffib 29 cairosvg 30 ]; 31 32 # No tests included 33 doCheck = false; 34 35 pythonImportsCheck = [ "sphinxcontrib.wavedrom" ]; 36 37 pythonNamespaces = [ "sphinxcontrib" ]; 38 39 meta = with lib; { 40 description = "A sphinx extension that allows including wavedrom diagrams by using its text-based representation"; 41 homepage = "https://github.com/bavovanachte/sphinx-wavedrom"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fsagbuya ]; 44 }; 45}