Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 960 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, hatchling 6, hatch-nodejs-version 7, fastjsonschema 8, jsonschema 9, jupyter-core 10, traitlets 11, pep440 12, pytestCheckHook 13, testpath 14}: 15 16buildPythonPackage rec { 17 pname = "nbformat"; 18 version = "5.7.3"; 19 20 disabled = pythonOlder "3.7"; 21 22 format = "pyproject"; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-SwIfyiTTp0e/TmJmlAM9eS1ZRwWCnl41sU7jNp+fZHc="; 27 }; 28 29 nativeBuildInputs = [ 30 hatchling 31 hatch-nodejs-version 32 ]; 33 34 propagatedBuildInputs = [ 35 fastjsonschema 36 jsonschema 37 jupyter-core 38 traitlets 39 ]; 40 41 nativeCheckInputs = [ 42 pep440 43 pytestCheckHook 44 testpath 45 ]; 46 47 # Some of the tests use localhost networking. 48 __darwinAllowLocalNetworking = true; 49 50 meta = { 51 description = "The Jupyter Notebook format"; 52 homepage = "https://jupyter.org/"; 53 license = lib.licenses.bsd3; 54 maintainers = with lib.maintainers; [ fridh globin ]; 55 }; 56}