1. 10 Oct, 2019 1 commit
  2. 09 Sep, 2019 2 commits
    • Ludovic Courtès's avatar
      Switch to Guile-JSON 3.x. · 0bd4ecd7
      Ludovic Courtès authored
      Guile-JSON 3.x is incompatible with Guile-JSON 1.x, which we relied on
      until now: it maps JSON dictionaries to alists (instead of hash tables),
      and JSON arrays to vectors (instead of lists).  This commit is about
      adjusting all the existing code to this new mapping.
      
      * jupyter/kernels.scm (kernel-arguments): Use 'assoc-ref' instead of
      'hash-ref'; pass JSON array through 'vector->list'.
      (relay-message, reply-html): Likewise.
      * jupyter/messages.scm (string->header): Likewise.
      * guix-jupyter-container.scm (local-eval, reply-execute-request): Likewise.
      * guix-jupyter-kernel.scm (reply-execute-request): Likewise.
      * guix-kernel/jupyter-client.scm (json->kernel): Likewise.
      * tests/kernels.scm: Likewise.
      * environment.scm (propagated-inputs): Replace GUILE-JSON with
      GUILE-JSON-3.
      0bd4ecd7
    • Ludovic Courtès's avatar
      kernels: Add test talking to ipykernel. · 6874b76c
      Ludovic Courtès authored
      * tests/kernels.scm: New file.
      * Makefile.am (SCM_TESTS): Add it.
      * environment.scm <native-inputs>: Add JUPYTER, PYTHON-IPYTHON, and
      PYTHON-IPYKERNEL.
      6874b76c
  3. 14 Feb, 2019 2 commits
  4. 20 Sep, 2018 1 commit
  5. 11 Sep, 2018 4 commits
  6. 12 Jul, 2018 1 commit
  7. 02 Jul, 2018 1 commit
  8. 27 Jun, 2018 1 commit
    • ROUBY Pierre-Antoine's avatar
      guix-kernel: Fix guix package. · 87850a5f
      ROUBY Pierre-Antoine authored
      * Makefile.am (kernel.json): Delete rule.
      * environment.scm (arguments): substitute openssl, guile, guile-load-path,
        guile-load-compiled-path and kernel path.
        (source): Use local file.
      * guix-kernel/environ.scm (guile-current-load-path->args-list,
        guix-current-load-compiled-path->args-list): New procedures.
      * kernel.json: Rename 'kernel.json.in' to 'kernel.json'.
        (argv) Add '@guile@', '@LOAD_PATH@', '@LOAD_COMPILED_PATH@' and
        '@guix-jupyter-kernerl.scm@' for subsitution.
      * guix-jupyter-kernel.scm (start-sub-kernel): Propagated guile load path
        and load compiled path.
      87850a5f
  9. 25 Jun, 2018 1 commit
    • ROUBY Pierre-Antoine's avatar
      guix-kernel: Add autotools build system. · 2072ebcd
      ROUBY Pierre-Antoine authored
      * guix-jupyter-kernel.scm: Move from 'src/'.
      * guix-jupyter-subkernel.scm: Move from 'src/'.
      * guix-kernel/environ.scm: Move from 'src/'.
      * guix-kernel/hmac.scm: Move from 'src/'.
      * guix-kernel/magic.scm: Move from 'src/'.
      * guix-kernel/tools.scm: Move from 'src/'.
      * kernel.json.in: Move from 'src/kernel.json'.
        (argv): Add '@guilemoduledir@'.
      * env.in: New file.
      * bootstrap: New file.
      * configure.ac: New file.
      * guile.am: New file.
      * Makefile.am: New file.
      * environment.scm: New file.
      * VERSION: New file.
      2072ebcd