mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
34 lines
704 B
Nix
34 lines
704 B
Nix
{ 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 ];
|
|
};
|
|
}
|