Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
574 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 = with lib; {
homepage = "https://github.com/mcmtroffaes/latexcodec";
description = "Lexer and codec to work with LaTeX code in Python";
license = licenses.mit;
};
}