pkgs/vpython-jupyter: init with dependencies
This commit is contained in:
parent
e2f89e5e16
commit
903800fb0b
8 changed files with 9298 additions and 2 deletions
46
pkgs/vpython-jupyter.nix
Normal file
46
pkgs/vpython-jupyter.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
, cython
|
||||
, setuptools
|
||||
, setuptools_scm
|
||||
|
||||
, autobahn
|
||||
, ipykernel
|
||||
, jupyter
|
||||
, notebook
|
||||
, numpy
|
||||
, jupyterlab-vpython
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "vpython-jupyter";
|
||||
version = "7.6.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vpython";
|
||||
repo = "vpython-jupyter";
|
||||
tag = "7.6.5";
|
||||
hash = "sha256-k8cBeOU2ePLM+3f+0FHLiK4kejZ2ZSNbCdgYsG00xsg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
setuptools
|
||||
setuptools_scm
|
||||
];
|
||||
dependencies = [
|
||||
autobahn
|
||||
ipykernel
|
||||
jupyter
|
||||
notebook
|
||||
numpy
|
||||
jupyterlab-vpython
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "'jupyter-server-proxy', " ""
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue