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 name = "${pname}-${version}";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402";
21 };
22
23 LC_ALL="en_US.utf8";
24
25 checkInputs = [ pytest glibcLocales ];
26 propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ];
27
28 preCheck = ''
29 mkdir tmp
30 export HOME=tmp
31 '';
32
33 meta = {
34 description = "The Jupyter Notebook format";
35 homepage = http://jupyter.org/;
36 license = lib.licenses.bsd3;
37 maintainers = with lib.maintainers; [ fridh globin ];
38 };
39}