forked from mirrors/nixpkgs
python3Packages.testbook: init at 0.4.2
This commit is contained in:
parent
3d62cd9a6c
commit
3a087c1bc8
34
pkgs/development/python-modules/testbook/default.nix
Normal file
34
pkgs/development/python-modules/testbook/default.nix
Normal 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];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue