1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, glibcLocales
6, ipython_genutils
7, traitlets
8, testpath
9, jsonschema
10, jupyter_core
11}:
12
13buildPythonPackage rec {
14 pname = "nbformat";
15 version = "4.4.0";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402";
20 };
21
22 LC_ALL="en_US.utf8";
23
24 checkInputs = [ pytest glibcLocales ];
25 propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ];
26
27 preCheck = ''
28 mkdir tmp
29 export HOME=tmp
30 '';
31
32 meta = {
33 description = "The Jupyter Notebook format";
34 homepage = http://jupyter.org/;
35 license = lib.licenses.bsd3;
36 maintainers = with lib.maintainers; [ fridh globin ];
37 };
38}