Files

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

40 lines
837 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}