Files
nixpkgs/pkgs/development/python-modules/flatlatex/default.nix
T
2026-02-23 20:30:47 -08:00

49 lines
764 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
setuptools,
pytestCheckHook,
regex,
}:
buildPythonPackage rec {
pname = "flatlatex";
version = "0.15";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-UXDhvNT8y1K9vf8wCxS2hzBIO8RvaiqJ964rsCTk0Tk=";
};
disabled = pythonAtLeast "3.14";
build-system = [
setuptools
];
dependencies = [
regex
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"flatlatex"
];
meta = {
description = "LaTeX math converter to unicode text";
homepage = "https://github.com/jb-leger/flatlatex";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [
euxane
renesat
];
};
}