mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
pythonPackages.jupytext: init at 0.8.4 (#52545)
This commit is contained in:
parent
4040b43a25
commit
51fdee8b92
47
pkgs/development/python-modules/jupytext/default.nix
Normal file
47
pkgs/development/python-modules/jupytext/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -1871,6 +1871,8 @@ in {
|
||||
|
||||
jupyterlab = callPackage ../development/python-modules/jupyterlab {};
|
||||
|
||||
jupytext = callPackage ../development/python-modules/jupytext { };
|
||||
|
||||
PyLTI = callPackage ../development/python-modules/pylti { };
|
||||
|
||||
lmdb = callPackage ../development/python-modules/lmdb { };
|
||||
|
Loading…
Reference in New Issue
Block a user