blob: 55ed9ed80a1fb51388b20bf5c5406d95fd807e62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
six,
pytest,
}:
buildPythonPackage rec {
pname = "latexcodec";
version = "3.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-54ppEc1y+d7DUDHG7CNYTeaEK/vEYQqWeIaNFM37A1c=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = {
homepage = "https://github.com/mcmtroffaes/latexcodec";
description = "Lexer and codec to work with LaTeX code in Python";
license = lib.licenses.mit;
};
}
|