pythonPackages.jupytext: init at 0.8.4 (#52545)

This commit is contained in:
Timo Kaufmann 2018-12-20 12:18:30 +01:00 committed by GitHub
parent 4040b43a25
commit 51fdee8b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchPypi
, testfixtures
, pyyaml
, mock
, nbformat
, pytest
}:
buildPythonPackage rec {
pname = "jupytext";
version = "0.8.6";
src = fetchPypi {
inherit pname version;
sha256 = "1m35m9z4vy480d2200nd4lk9n5s4z3zcnq0d9rdlh4yv5264mrgf";
};
propagatedBuildInputs = [
pyyaml
nbformat
testfixtures
];
checkInputs = [
pytest
];
# setup.py checks for those even though they're not needed at runtime (only
# for tests), thus not propagated
buildInputs = [
mock
pytest
];
# requires test notebooks which are not shipped with the pypi release
doCheck = false;
checkPhase = ''
py.test
'';
meta = with lib; {
description = "Jupyter notebooks as Markdown documents, Julia, Python or R scripts";
homepage = https://github.com/mwouts/jupytext;
license = licenses.mit;
maintainers = with maintainers; [ timokau ];
};
}

View File

@ -1871,6 +1871,8 @@ in {
jupyterlab = callPackage ../development/python-modules/jupyterlab {}; jupyterlab = callPackage ../development/python-modules/jupyterlab {};
jupytext = callPackage ../development/python-modules/jupytext { };
PyLTI = callPackage ../development/python-modules/pylti { }; PyLTI = callPackage ../development/python-modules/pylti { };
lmdb = callPackage ../development/python-modules/lmdb { }; lmdb = callPackage ../development/python-modules/lmdb { };