nixpkgs-suyu/pkgs/development/python-modules/nbformat/default.nix

39 lines
748 B
Nix
Raw Normal View History

2017-06-02 17:04:03 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, glibcLocales
, ipython_genutils
, traitlets
, testpath
, jsonschema
, jupyter_core
}:
buildPythonPackage rec {
pname = "nbformat";
2017-08-24 19:34:20 +02:00
version = "4.4.0";
2017-06-02 17:04:03 +02:00
src = fetchPypi {
inherit pname version;
2017-08-24 19:34:20 +02:00
sha256 = "f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402";
2017-06-02 17:04:03 +02:00
};
2017-10-23 13:49:03 +02:00
LC_ALL="en_US.utf8";
2017-06-02 17:04:03 +02:00
checkInputs = [ pytest glibcLocales ];
propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ];
2017-10-23 13:49:03 +02:00
preCheck = ''
mkdir tmp
export HOME=tmp
'';
2017-06-02 17:04:03 +02:00
meta = {
description = "The Jupyter Notebook format";
homepage = http://jupyter.org/;
2017-06-02 17:04:03 +02:00
license = lib.licenses.bsd3;
2017-10-23 13:49:03 +02:00
maintainers = with lib.maintainers; [ fridh globin ];
2017-06-02 17:04:03 +02:00
};
}