Merge pull request #156866 from WolfangAukang/ilua

python310Packages.ilua: init at 0.2.1
This commit is contained in:
Fabian Affolter 2022-02-02 18:13:40 +01:00 committed by GitHub
commit 5328cb9504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonApplication
, fetchPypi
, jupyter_console
, jupyter_core
, pygments
, termcolor
, txzmq
}:
buildPythonApplication rec {
pname = "ilua";
version = "0.2.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-YxV6xC7GS5NXyMPRZN9YIJxamgP2etwrZUAZjk5PjtU=";
};
propagatedBuildInputs = [
jupyter_console
jupyter_core
pygments
termcolor
txzmq
];
# No tests found
doCheck = false;
pythonImportsCheck = [ "ilua" ];
meta = with lib; {
description = "Portable Lua kernel for Jupyter";
homepage = "https://github.com/guysv/ilua";
license = licenses.gpl2Only;
maintainers = with maintainers; [ wolfangaukang ];
};
}

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pyzmq
, twisted
}:
buildPythonPackage rec {
pname = "txzmq";
version = "1.0.0";
src = fetchPypi {
inherit version;
pname = "txZMQ";
sha256 = "sha256-jWB9C/CcqUYAuOQvByHb5D7lOgRwGCNErHrOfljcYXc=";
};
propagatedBuildInputs = [
pyzmq
twisted
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "txzmq" ];
meta = with lib; {
description = "Twisted bindings for ZeroMQ";
homepage = "https://github.com/smira/txZMQ";
license = licenses.mpl20;
maintainers = with maintainers; [ wolfangaukang ];
};
}

View File

@ -3891,6 +3891,8 @@ in {
ijson = callPackage ../development/python-modules/ijson { };
ilua = callPackage ../development/python-modules/ilua { };
imagecodecs-lite = callPackage ../development/python-modules/imagecodecs-lite { };
imagecorruptions = callPackage ../development/python-modules/imagecorruptions { };
@ -9997,6 +9999,8 @@ in {
txtorcon = callPackage ../development/python-modules/txtorcon { };
txzmq = callPackage ../development/python-modules/txzmq { };
typecode = callPackage ../development/python-modules/typecode { };
typecode-libmagic = callPackage ../development/python-modules/typecode/libmagic.nix {