Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions pkgs/applications/science/misc/gophernotes/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ stdenv
, buildGoPackage
, fetchFromGitHub
, pkgconfig
, zeromq
, writeText
}:

buildGoPackage rec {
name = "gophernotes-${version}";
# necissary for jupyterlab support
# https://github.com/gopherdata/gophernotes/issues/99
version = "unstable-b58dd906c43c1ef0b5976b150872c79f82daafcd";
goPackagePath = "github.com/gopherdata/gophernotes";

src = fetchFromGitHub {
owner = "gopherdata";
repo = "gophernotes";
rev = "b58dd906c43c1ef0b5976b150872c79f82daafcd";
sha256 = "1pqa0mjrgbzbrp1zvcl2p4rvb4a5b7mr4k1rdf82rs2h1qkak1d7";
};

buildInputs = [ pkgconfig zeromq ];

goDeps = ./deps.nix;

# install kernel manually
postInstall = ''
mkdir -p $bin/share/jupyter/kernels/gophernotes/
cp $src/kernel/* $bin/share/jupyter/kernels/gophernotes/
sed -i "s+gophernotes+$bin/bin/gophernotes+" $bin/share/jupyter/kernels/gophernotes/kernel.json
cat $bin/share/jupyter/kernels/gophernotes/kernel.json
'';

meta = with stdenv.lib; {
homepage = https://github.com/gopherdata/gophernotes;
description = "The Go kernel for Jupyter notebooks and nteract";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};

}
48 changes: 48 additions & 0 deletions pkgs/applications/science/misc/gophernotes/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions pkgs/development/node-packages/node-packages-v10.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
, "http-server"
, "ionic"
, "ios-deploy"
, "ipyvolume"
, "imapnotify"
, "jake"
, "javascript-typescript-langserver"
Expand All @@ -53,6 +54,26 @@
, "json-refs"
, "json-server"
, "js-yaml"
, "@jupyter-widgets/jupyterlab-manager"
, "@jupyterlab/fasta-extension"
, "@jupyterlab/geojson-extension"
, "@jupyterlab/git"
, "@jupyterlab/hub-extension"
, "@jupyterlab/katex-extension"
, "@jupyterlab/latex"
, "@jupyterlab/mathjax3-extension"
, "@jupyterlab/plotly-extension"
, "@jupyterlab/toc"
, "@jupyterlab/vega2-extension"
, "@jupyterlab/vega3-extension"
, "@jupyterlab/xkcd-extension"
, "jupyter-leaflet"
, "jupyter-matplotlib"
, "jupyter-threejs"
, "jupyter-webrtc"
, "jupyterlab-datawidgets"
, "jupyterlab-drawio"
, "jupyterlab_bokeh"
, "karma"
, "lcov-result-merger"
, "leetcode-cli"
Expand Down
Loading