Commit 166ec8a5 authored by Ran Xiao's avatar Ran Xiao
Browse files

python310Packages.execnb: init at 0.1.4

parent fd18361c
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, fastcore
, traitlets
, ipython
, pythonOlder
}:

buildPythonPackage rec {
  pname = "execnb";
  version = "0.1.4";
  format = "setuptools";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-y9gSvzJA8Fsh56HbA8SszlozsBBfTLfgWGDXm9uSBvA=";
  };

  propagatedBuildInputs = [ fastcore traitlets ipython ];

  # no real tests
  doCheck = false;
  pythonImportsCheck = [ "execnb" ];

  meta = with lib; {
    homepage = "https://github.com/fastai/execnb";
    description = "Execute a jupyter notebook, fast, without needing jupyter";
    license = licenses.asl20;
    maintainers = with maintainers; [ rxiao ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3168,6 +3168,8 @@ self: super: with self; {

  exchangelib = callPackage ../development/python-modules/exchangelib { };

  execnb = callPackage ../development/python-modules/execnb { };

  execnet = callPackage ../development/python-modules/execnet { };

  executing = callPackage ../development/python-modules/executing { };