nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 20 lines 467 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, six }: 2 3buildPythonPackage rec { 4 pname = "latexcodec"; 5 version = "1.0.7"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0wnp3yqcgx0rpy8dz51vh75lbp2qif67da19zi7m3ca98n887hgb"; 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}