ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
32 lines
769 B
Nix
32 lines
769 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "latexrestricted";
|
|
version = "0.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-PwhVKgoXujiLC+3FPAtUdvBEgeNwD6aBK+I5p8xeLwo=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|