python.pkgs.nbformat: move expression

+37 -22
+36
pkgs/development/python-modules/nbformat/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytest 5 + , glibcLocales 6 + , ipython_genutils 7 + , traitlets 8 + , testpath 9 + , jsonschema 10 + , jupyter_core 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "nbformat"; 15 + version = "4.3.0"; 16 + name = "${pname}-${version}"; 17 + 18 + src = fetchPypi { 19 + inherit pname version; 20 + sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b"; 21 + }; 22 + LC_ALL="en_US.UTF-8"; 23 + 24 + checkInputs = [ pytest glibcLocales ]; 25 + propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ]; 26 + 27 + # Failing tests and permission issues 28 + doCheck = false; 29 + 30 + meta = { 31 + description = "The Jupyter Notebook format"; 32 + homepage = "http://jupyter.org/"; 33 + license = lib.licenses.bsd3; 34 + maintainers = with lib.maintainers; [ fridh ]; 35 + }; 36 + }
+1 -22
pkgs/top-level/python-packages.nix
··· 14834 14834 }; 14835 14835 }; 14836 14836 14837 - nbformat = buildPythonPackage rec { 14838 - version = "4.3.0"; 14839 - name = "nbformat-${version}"; 14840 - 14841 - src = pkgs.fetchurl { 14842 - url = "mirror://pypi/n/nbformat/${name}.tar.gz"; 14843 - sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b"; 14844 - }; 14845 - LC_ALL="en_US.UTF-8"; 14846 - buildInputs = with self; [ pytest pkgs.glibcLocales ]; 14847 - propagatedBuildInputs = with self; [ipython_genutils traitlets testpath jsonschema jupyter_core]; 14848 - 14849 - # Failing tests and permission issues 14850 - doCheck = false; 14851 - 14852 - meta = { 14853 - description = "The Jupyter Notebook format"; 14854 - homepage = "http://jupyter.org/"; 14855 - license = licenses.bsd3; 14856 - maintainers = with maintainers; [ fridh ]; 14857 - }; 14858 - }; 14837 + nbformat = callPackage ../development/python-modules/nbformat { }; 14859 14838 14860 14839 nbxmpp = buildPythonPackage rec { 14861 14840 name = "nbxmpp-${version}";