2024-09-26 11:04:55 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
setuptools,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "latexrestricted";
|
2024-10-11 05:15:48 +00:00
|
|
|
version = "0.5.0";
|
2024-09-26 11:04:55 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-10-11 05:15:48 +00:00
|
|
|
hash = "sha256-PwhVKgoXujiLC+3FPAtUdvBEgeNwD6aBK+I5p8xeLwo=";
|
2024-09-26 11:04:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "latexrestricted" ];
|
|
|
|
|
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/gpoore/latexrestricted";
|
|
|
|
description = "Python library for creating executables compatible with LaTeX restricted shell escape";
|
|
|
|
changelog = "https://github.com/gpoore/latexrestricted/blob/v${version}/CHANGELOG.md";
|
|
|
|
license = lib.licenses.lppl13c;
|
|
|
|
maintainers = with lib.maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|