Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / execnb / default.nix
blob56b1bf1388ed930ac36ec902354fec3f8c863f45
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fastcore
5 , traitlets
6 , ipython
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "execnb";
12   version = "0.1.5";
13   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "sha256-nuAp4OMAfA3u3DJyORjFw7y7ZLsLCKEfxSFIXqNh+k0=";
19   };
21   propagatedBuildInputs = [ fastcore traitlets ipython ];
23   # no real tests
24   doCheck = false;
25   pythonImportsCheck = [ "execnb" ];
27   meta = with lib; {
28     homepage = "https://github.com/fastai/execnb";
29     description = "Execute a jupyter notebook, fast, without needing jupyter";
30     mainProgram = "exec_nb";
31     license = licenses.asl20;
32     maintainers = with maintainers; [ rxiao ];
33   };