1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "latexrestricted";
10 version = "0.6.2";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-1R0hpBGXpYH/KcD4GFUfFvoOaJDe+Sl5msC952KnqmA=";
16 };
17
18 build-system = [ setuptools ];
19
20 pythonImportsCheck = [ "latexrestricted" ];
21
22 # upstream has no tests
23 doCheck = false;
24
25 meta = {
26 homepage = "https://github.com/gpoore/latexrestricted";
27 description = "Python library for creating executables compatible with LaTeX restricted shell escape";
28 changelog = "https://github.com/gpoore/latexrestricted/blob/v${version}/CHANGELOG.md";
29 license = lib.licenses.lppl13c;
30 maintainers = with lib.maintainers; [ romildo ];
31 };
32}