blob: c2890bf591ec2eadddab10f07f88de621af755ba (
plain) (
blame)
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.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-kX3F/iQnYswZ2WPmVItC1joRgCjN0zYdYjl+O2OLa8U=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = "https://github.com/mcmtroffaes/latexcodec";
description = "Lexer and codec to work with LaTeX code in Python";
license = licenses.mit;
};
}
|