Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 41 lines 837 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.4"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a"; 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}