2017-06-02 16:04:03 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, glibcLocales
|
|
|
|
, ipython_genutils
|
|
|
|
, traitlets
|
|
|
|
, testpath
|
|
|
|
, jsonschema
|
|
|
|
, jupyter_core
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbformat";
|
|
|
|
version = "4.3.0";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b";
|
|
|
|
};
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
|
|
|
|
checkInputs = [ pytest glibcLocales ];
|
|
|
|
propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ];
|
|
|
|
|
|
|
|
# Failing tests and permission issues
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Jupyter Notebook format";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://jupyter.org/;
|
2017-06-02 16:04:03 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|