blob: 6c567519fff98ec90ad7a5457fe6fce9f260c2dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
}:
buildPythonPackage rec {
pname = "latexrestricted";
version = "0.6.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-1R0hpBGXpYH/KcD4GFUfFvoOaJDe+Sl5msC952KnqmA=";
};
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 ];
};
}
|