66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
26 lines
540 B
Nix
26 lines
540 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, six, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "latexcodec";
|
|
version = "2.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0pyzhidpnc3q3rh9d5hxhzv99rl5limyyrll7xcyssci92fn8gyd";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mcmtroffaes/latexcodec";
|
|
description = "Lexer and codec to work with LaTeX code in Python";
|
|
license = stdenv.lib.licenses.mit;
|
|
};
|
|
|
|
}
|