ipykernel: fix permissions when installing kernels
This commit is contained in:
parent
f10a7a216c
commit
7c2d638802
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, ipython
|
, ipython
|
||||||
, jupyter_client
|
, jupyter_client
|
||||||
, traitlets
|
, traitlets
|
||||||
|
@ -23,6 +24,14 @@ buildPythonPackage rec {
|
||||||
checkInputs = [ pytest nose ];
|
checkInputs = [ pytest nose ];
|
||||||
propagatedBuildInputs = [ ipython jupyter_client traitlets tornado ];
|
propagatedBuildInputs = [ ipython jupyter_client traitlets tornado ];
|
||||||
|
|
||||||
|
# https://github.com/ipython/ipykernel/pull/377
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/ipython/ipykernel/commit/a3bf849dbd368a1826deb9dfc94c2bd3e5ed04fe.patch";
|
||||||
|
sha256 = "1yhpwqixlf98a3n620z92mfips3riw6psijqnc5jgs2p58fgs2yc";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
HOME=$(mktemp -d) pytest ipykernel
|
HOME=$(mktemp -d) pytest ipykernel
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue