forked from mirrors/nixpkgs
python310Packages.nbformat: 5.5.0 -> 5.7.0
This commit is contained in:
parent
45ab6cf9c8
commit
77306d371e
|
@ -1,50 +1,48 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, hatchling
|
||||
, hatch-nodejs-version
|
||||
, fastjsonschema
|
||||
, flit-core
|
||||
, pytestCheckHook
|
||||
, glibcLocales
|
||||
, ipython_genutils
|
||||
, traitlets
|
||||
, testpath
|
||||
, jsonschema
|
||||
, jupyter_core
|
||||
, traitlets
|
||||
, pep440
|
||||
, pytestCheckHook
|
||||
, testpath
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nbformat";
|
||||
version = "5.5.0";
|
||||
version = "5.7.0";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-nr4w5sOz5bR9Of8KOJehrPUj0r+vy04tBM23D4pmxQc=";
|
||||
sha256 = "1d4760c15c1a04269ef5caf375be8b98dd2f696e5eb9e603ec2bf091f9b0d3f3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
hatchling
|
||||
hatch-nodejs-version
|
||||
];
|
||||
|
||||
LC_ALL="en_US.utf8";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fastjsonschema
|
||||
ipython_genutils
|
||||
jsonschema
|
||||
jupyter_core
|
||||
pep440
|
||||
testpath
|
||||
traitlets
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook glibcLocales ];
|
||||
|
||||
preCheck = ''
|
||||
mkdir tmp
|
||||
export HOME=tmp
|
||||
'';
|
||||
checkInputs = [
|
||||
pep440
|
||||
pytestCheckHook
|
||||
testpath
|
||||
];
|
||||
|
||||
# Some of the tests use localhost networking.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
|
Loading…
Reference in a new issue