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