mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
pythonPackages.python-jose: fix build for python 3.6"
This commit is contained in:
parent
c00dbcb7c4
commit
d65a3efc3f
@ -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 New Issue
Block a user