2020-05-15 11:21:38 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, six, pytest }:
|
2018-03-07 19:14:58 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "latexcodec";
|
2020-07-06 17:24:24 +01:00
|
|
|
version = "2.0.1";
|
2018-03-07 19:14:58 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 17:24:24 +01:00
|
|
|
sha256 = "16pynfnn8y8xp55yp06i721fccv5dlx9ba6k5bzcwq9j6wf5b8ia";
|
2018-03-07 19:14:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2020-05-15 11:21:38 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
2018-03-07 19:14:58 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/mcmtroffaes/latexcodec";
|
|
|
|
description = "Lexer and codec to work with LaTeX code in Python";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|