Merge pull request #223173 from marsam/fix-myst-nb-build

python310Packages.myst-nb: fix build
This commit is contained in:
Mario Rodas 2023-03-26 21:28:24 -05:00 committed by GitHub
commit d2c23c58b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,7 @@
, sphinx-togglebutton , sphinx-togglebutton
, typing-extensions , typing-extensions
, ipykernel , ipykernel
, pythonRelaxDepsHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -29,7 +30,10 @@ buildPythonPackage rec {
hash = "sha256-FN9yXz4Ay17+9PhjvwwnNJDIxmLf7jntins3S/JWGTM="; hash = "sha256-FN9yXz4Ay17+9PhjvwwnNJDIxmLf7jntins3S/JWGTM=";
}; };
nativeBuildInputs = [ flit-core ]; nativeBuildInputs = [
flit-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [ propagatedBuildInputs = [
importlib-metadata importlib-metadata
@ -45,6 +49,10 @@ buildPythonPackage rec {
ipykernel ipykernel
]; ];
pythonRelaxDeps = [
"myst-parser"
];
pythonImportsCheck = [ "myst_nb" ]; pythonImportsCheck = [ "myst_nb" ];
meta = with lib; { meta = with lib; {