python312Packages.latexrestricted: init at 0.4.0; latexminted: 0.1.0b9 -> 0.1.0b16 (#339361)

This commit is contained in:
José Romildo Malaquias 2024-09-23 07:34:48 -03:00 committed by GitHub
commit 429b0e9445
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 37 additions and 2 deletions

View File

@ -7,12 +7,12 @@
python3Packages.buildPythonApplication rec {
pname = "latexminted";
version = "0.1.0b9";
version = "0.1.0b16";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-QUFfoX1jv5pVQDEBGaVd1madfqbTWTJyXPh4gw7P5UE=";
hash = "sha256-9iUxoJIctp5IPEaEHqw0AwgcEkxlEyPTZhRkpXSjSIA=";
};
build-system = with python3Packages; [
@ -22,6 +22,7 @@ python3Packages.buildPythonApplication rec {
dependencies = with python3Packages; [
pygments
latex2pydata
latexrestricted
];
passthru = {

View File

@ -0,0 +1,32 @@
{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
}:
buildPythonPackage rec {
pname = "latexrestricted";
version = "0.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-AMfDTruJKejDdXW98VkeeEwELql5566bsL1SutLDpso=";
};
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 ];
};
}

View File

@ -6878,6 +6878,8 @@ self: super: with self; {
latexify-py = callPackage ../development/python-modules/latexify-py { };
latexrestricted = callPackage ../development/python-modules/latexrestricted { };
launchpadlib = callPackage ../development/python-modules/launchpadlib { };
laundrify-aio = callPackage ../development/python-modules/laundrify-aio { };