pythonPackages.jupytext: 1.1.7 -> 1.2.1
This commit is contained in:
parent
40a93cd8b2
commit
1f8221c98e
|
@ -1,41 +1,33 @@
|
||||||
{ lib
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, testfixtures
|
|
||||||
, pyyaml
|
|
||||||
, mock
|
, mock
|
||||||
, nbformat
|
, nbformat
|
||||||
, pytest
|
, pytest
|
||||||
|
, pyyaml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupytext";
|
pname = "jupytext";
|
||||||
version = "1.1.7";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0g365j22gbmq4x60l06id5930aywzy1dx2s25109nqq2l2cxc7ws";
|
sha256 = "05vwxgjh7pzxgdzj0775562bfps8j7w3p7dcf1zfh169whqw9vg8";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pyyaml
|
pyyaml
|
||||||
nbformat
|
nbformat
|
||||||
testfixtures
|
] ++ lib.optionals isPy27 [ mock ]; # why they put it in install_requires, who knows
|
||||||
];
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
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
|
# requires test notebooks which are not shipped with the pypi release
|
||||||
|
# also, pypi no longer includes tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue