1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 jupyter-console,
6 jupyter-core,
7 pygments,
8 setuptools,
9 termcolor,
10 txzmq,
11}:
12
13buildPythonPackage rec {
14 pname = "ilua";
15 version = "0.2.1";
16 format = "pyproject";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-YxV6xC7GS5NXyMPRZN9YIJxamgP2etwrZUAZjk5PjtU=";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24
25 propagatedBuildInputs = [
26 jupyter-console
27 jupyter-core
28 pygments
29 termcolor
30 txzmq
31 ];
32
33 # No tests found
34 doCheck = false;
35
36 pythonImportsCheck = [ "ilua" ];
37
38 meta = with lib; {
39 description = "Portable Lua kernel for Jupyter";
40 mainProgram = "ilua";
41 homepage = "https://github.com/guysv/ilua";
42 license = licenses.gpl2Only;
43 maintainers = [ ];
44 };
45}