3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.testbook: init at 0.4.2

This commit is contained in:
Daniel Baker 2022-10-24 01:19:04 -07:00 committed by Daniel Baker
parent 3d62cd9a6c
commit 3a087c1bc8
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
nbformat,
nbclient,
}:
buildPythonPackage rec {
pname = "testbook";
version = "0.4.2";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "nteract";
repo = pname;
rev = version;
sha256 = "08fdd5ef7c96480ad11c12d472de21acd32359996f69a5259299b540feba4560";
};
nativeBuildInputs = [
nbformat
nbclient
];
meta = with lib; {
description = "testbook is a unit testing framework extension for testing code in Jupyter Notebooks.";
homepage = "https://testbook.readthedocs.io/";
license = with licenses; [bsd3];
maintainers = with maintainers; [djacu];
};
}

View file

@ -11065,6 +11065,8 @@ in {
textual = callPackage ../development/python-modules/textual { };
testbook = callPackage ../development/python-modules/testbook { };
testing-common-database = callPackage ../development/python-modules/testing-common-database { };
testing-postgresql = callPackage ../development/python-modules/testing-postgresql { };