Commit 8432ab23 authored by euxane's avatar euxane Committed by aleksana
Browse files

python3Packages.flatlatex: init at 0.15



Co-authored-by: default avatarrenesat <self@renesat.me>

Co-authored-by: default avatarAleksana <alexander.huang.y@gmail.com>
parent 1fe43afe
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  pytestCheckHook,
  regex,
}:

buildPythonPackage rec {
  pname = "flatlatex";
  version = "0.15";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-UXDhvNT8y1K9vf8wCxS2hzBIO8RvaiqJ964rsCTk0Tk=";
  };

  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
    ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5355,6 +5355,8 @@ self: super: with self; {
  flatdict = callPackage ../development/python-modules/flatdict { };
  flatlatex = callPackage ../development/python-modules/flatlatex { };
  flatten-dict = callPackage ../development/python-modules/flatten-dict { };
  flatten-json = callPackage ../development/python-modules/flatten-json { };