nixpkgs/pkgs/development/python-modules/jupyter_core/default.nix

37 lines
762 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, ipython
, traitlets
, glibcLocales
, mock
, pytest
2019-10-16 17:11:56 +01:00
, nose
}:
buildPythonPackage rec {
pname = "jupyter_core";
version = "4.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "aa1f9496ab3abe72da4efe0daab0cb2233997914581f9a071e07498c6add8ed3";
};
2019-10-16 17:11:56 +01:00
checkInputs = [ pytest mock glibcLocales nose ];
propagatedBuildInputs = [ ipython traitlets ];
patches = [ ./tests_respect_pythonpath.patch ];
checkPhase = ''
HOME=$TMPDIR LC_ALL=en_US.utf8 py.test
'';
meta = with lib; {
description = "Jupyter core package. A base package on which Jupyter projects rely";
homepage = "https://jupyter.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
}