3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.nbformat: move expression

This commit is contained in:
Frederik Rietdijk 2017-06-02 17:04:03 +02:00
parent 49bc01682e
commit 779767e650
2 changed files with 37 additions and 22 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, glibcLocales
, ipython_genutils
, traitlets
, testpath
, jsonschema
, jupyter_core
}:
buildPythonPackage rec {
pname = "nbformat";
version = "4.3.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b";
};
LC_ALL="en_US.UTF-8";
checkInputs = [ pytest glibcLocales ];
propagatedBuildInputs = [ ipython_genutils traitlets testpath jsonschema jupyter_core ];
# Failing tests and permission issues
doCheck = false;
meta = {
description = "The Jupyter Notebook format";
homepage = "http://jupyter.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}

View file

@ -14834,28 +14834,7 @@ in {
};
};
nbformat = buildPythonPackage rec {
version = "4.3.0";
name = "nbformat-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/n/nbformat/${name}.tar.gz";
sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b";
};
LC_ALL="en_US.UTF-8";
buildInputs = with self; [ pytest pkgs.glibcLocales ];
propagatedBuildInputs = with self; [ipython_genutils traitlets testpath jsonschema jupyter_core];
# Failing tests and permission issues
doCheck = false;
meta = {
description = "The Jupyter Notebook format";
homepage = "http://jupyter.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
};
nbformat = callPackage ../development/python-modules/nbformat { };
nbxmpp = buildPythonPackage rec {
name = "nbxmpp-${version}";