pythonPackages.python-jose: fix build for python 3.6"
This commit is contained in:
parent
c00dbcb7c4
commit
d65a3efc3f
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,11 @@ buildPythonPackage rec {
|
|||
py.test
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
# File says it's utf-8 so instead of relying on the environment, fix the decoding when reading.
|
||||
substituteInPlace setup.py --replace "open('README.md')" "open('README.md',encoding='utf-8')"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ future six ecdsa rsa ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue