Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 839 B view raw
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 = "5.0.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "54d4d6354835a936bad7e8182dcd003ca3dc0cedfee5a306090e04854343b340"; 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 # Some of the tests use localhost networking. 33 __darwinAllowLocalNetworking = true; 34 35 meta = { 36 description = "The Jupyter Notebook format"; 37 homepage = "https://jupyter.org/"; 38 license = lib.licenses.bsd3; 39 maintainers = with lib.maintainers; [ fridh globin ]; 40 }; 41}