python.pkgs.nbmerge: init at unstable-2017-10-23

This commit is contained in:
Robin Gloster 2017-10-28 03:58:21 +02:00
parent 9754285f5b
commit e6061d737b
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, nbformat
, nose
}:
buildPythonPackage rec {
pname = "nbmerge";
version = "unstable-2017-10-23";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "jbn";
repo = pname;
rev = "fc0ba95e8422340317358ffec4404235defbc06a";
sha256 = "1cn550kjadnxc1sx2xy814248fpzrj3lgvrmsbrwmk03vwaa2hmi";
};
propagatedBuildInputs = [ nbformat ];
checkInputs = [ nose ];
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;
maintainers = with lib.maintainers; [ globin ];
};
}

View file

@ -12702,6 +12702,8 @@ in {
nbformat = callPackage ../development/python-modules/nbformat { };
nbmerge = callPackage ../development/python-modules/nbmerge { };
nbxmpp = buildPythonPackage rec {
name = "nbxmpp-${version}";
version = "0.5.5";