texsurgery: init at 0.6.3 (#441091)

This commit is contained in:
José Romildo Malaquias
2025-09-08 08:36:14 -03:00
committed by GitHub
+39
View File
@@ -0,0 +1,39 @@
{
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 ];
};
}