2024-06-20 14:57:18 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, python3Packages
|
|
|
|
, latexminted
|
|
|
|
, testers
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "latexminted";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "0.2.0";
|
2024-06-20 14:57:18 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-10-04 16:56:33 +00:00
|
|
|
hash = "sha256-vJziNgVYcnJfmAnok2OeYZEOwGtGfhZyup3D3+BuZsU=";
|
2024-06-20 14:57:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
build-system = with python3Packages; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = with python3Packages; [
|
|
|
|
pygments
|
|
|
|
latex2pydata
|
2024-09-26 11:04:55 +00:00
|
|
|
latexrestricted
|
2024-06-20 14:57:18 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
tests.version = testers.testVersion { package = latexminted; };
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python executable for LaTeX minted package";
|
|
|
|
homepage = "https://pypi.org/project/latexminted";
|
|
|
|
license = lib.licenses.lppl13c;
|
|
|
|
mainProgram = "latexminted";
|
|
|
|
maintainers = with lib.maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|