1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 matplotlib, 6 numpy, 7 pillow, 8 webcolors, 9 flit-core, 10 pytestCheckHook, 11 pandas, 12}: 13 14buildPythonPackage rec { 15 pname = "tikzplotlib"; 16 version = "0.10.1"; 17 format = "pyproject"; 18 19 src = fetchFromGitHub { 20 owner = "nschloe"; 21 repo = "tikzplotlib"; 22 rev = "v${version}"; 23 hash = "sha256-PLExHhEnxkEiXsE0rqvpNWwVZ+YoaDa2BTx8LktdHl0="; 24 }; 25 26 propagatedBuildInputs = [ 27 matplotlib 28 numpy 29 pillow 30 webcolors 31 flit-core 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 pandas 37 ]; 38 39 meta = with lib; { 40 description = "Save matplotlib figures as TikZ/PGFplots for smooth integration into LaTeX"; 41 homepage = "https://github.com/nschloe/tikzplotlib"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ doronbehar ]; 44 }; 45}