python-jsonrpc-server: make version overridable
This commit is contained in:
parent
4059ac951b
commit
88de3d0231
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/version=versioneer.get_version(),/version="${version}",/g' setup.py
|
||||
sed -i "s/version=versioneer.get_version(),/version=\"$version\",/g" setup.py
|
||||
# https://github.com/palantir/python-jsonrpc-server/issues/36
|
||||
sed -i -e 's!ujson<=!ujson>=!' setup.py
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue