7 python3Packages.buildPythonApplication rec {
12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 hash = "sha256-Uqs/SO/AculHCFYcbjW08kLQX5GSU/eAwkN2iy/vhLM=";
19 patches = [ ./pytest-compatibility.patch ];
21 build-system = [ python3Packages.setuptools ];
23 dependencies = [ python3Packages.nbformat ];
25 nativeCheckInputs = [ python3Packages.pytestCheckHook ];
29 PATH=$PATH:$out/bin ./cli_tests.sh
32 pythonImportsCheck = [ "nbmerge" ];
35 description = "Tool to merge/concatenate Jupyter (IPython) notebooks";
36 inherit (src.meta) homepage;
37 license = lib.licenses.mit;
39 mainProgram = "nbmerge";