Unverified Commit 87f31411 authored by José Romildo Malaquias's avatar José Romildo Malaquias Committed by GitHub
Browse files

texsurgery: init at 0.6.3 (#441091)

parents 0dc9f125 0efa842a
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  lib,
  fetchPypi,
  python3Packages,
}:

python3Packages.buildPythonApplication rec {
  pname = "texsurgery";
  version = "0.6.3";
  pyproject = true;

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

  build-system = with python3Packages; [
    setuptools
  ];

  dependencies = with python3Packages; [
    jupyter-client
    pyparsing
  ];

  pythonImportsCheck = [
    "texsurgery"
    "texsurgery.texsurgery"
    "texsurgery.command_line"
  ];

  meta = {
    description = "Replace some commands and environments within a TeX document by evaluating code inside a jupyter kernel";
    homepage = "https://pypi.org/project/texsurgery";
    license = lib.licenses.mit;
    mainProgram = "texsurgery";
    maintainers = with lib.maintainers; [ romildo ];
  };
}