1{ stdenv, buildPythonPackage, fetchPypi, six }: 2 3buildPythonPackage rec { 4 pname = "latexcodec"; 5 version = "1.0.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0zdd1gf24i83ykadx0y30n3001j43scqr2saql3vckk5c39dj1wn"; 10 }; 11 12 propagatedBuildInputs = [ six ]; 13 14 meta = { 15 homepage = "https://github.com/mcmtroffaes/latexcodec"; 16 description = "Lexer and codec to work with LaTeX code in Python"; 17 license = stdenv.lib.licenses.mit; 18 }; 19 20}