2017-10-28 01:58:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nbformat
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbmerge";
|
|
|
|
version = "unstable-2017-10-23";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jbn";
|
|
|
|
repo = pname;
|
|
|
|
rev = "fc0ba95e8422340317358ffec4404235defbc06a";
|
|
|
|
sha256 = "1cn550kjadnxc1sx2xy814248fpzrj3lgvrmsbrwmk03vwaa2hmi";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ nbformat ];
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ nose ];
|
2017-10-28 01:58:21 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
nosetests -v
|
|
|
|
PATH=$PATH:$out/bin ./cli_tests.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to merge/concatenate Jupyter (IPython) notebooks";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
license = lib.licenses.mit;
|
2019-08-20 17:36:05 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2017-10-28 01:58:21 +00:00
|
|
|
};
|
|
|
|
}
|