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