fix testbook package tests dependencies

This commit is contained in:
Daniel Baker 2022-10-24 14:23:08 +02:00
parent 26e9344d30
commit 50a2b6ed0c

View File

@ -1,10 +1,14 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
fetchFromGitHub,
nbformat,
nbclient,
ipykernel,
pandas,
pytest,
traitlets,
}:
buildPythonPackage rec {
pname = "testbook";
@ -21,10 +25,19 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
nbformat
nbclient
nbformat
];
checkInputs = [
ipykernel
pandas
pytest
traitlets
];
checkPhase = "pytest";
meta = with lib; {
description = "testbook is a unit testing framework extension for testing code in Jupyter Notebooks.";
homepage = "https://testbook.readthedocs.io/";