15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
26 hash = "sha256-JJc3LA+fqB+2g7pPIZ8YMV921EyYpLZrHSJCYyYThZg=";
33 propagatedBuildInputs = [
37 passthru.optional-dependencies = {
57 # Strip out references to unfree fonts from the test suite
59 substituteInPlace test/test_styles.ipynb --replace "font='Times', " ""
62 pytestFlagsArray = [ "--nbval-lax" ];
64 pythonImportsCheck = [ "schemdraw" ];
67 description = "A package for producing high-quality electrical circuit schematic diagrams";
68 homepage = "https://schemdraw.readthedocs.io/en/latest/";
69 changelog = "https://schemdraw.readthedocs.io/en/latest/changes.html";
70 license = licenses.mit;
71 maintainers = with maintainers; [ sfrijters ];