Merge pull request #91723 from DavHau/improve-python-jsonrpc-server-version
python-jsonrpc-server: make version overridable
This commit is contained in:
commit
1eac9a32ea
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
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
|
# https://github.com/palantir/python-jsonrpc-server/issues/36
|
||||||
sed -iEe "s!'ujson.*\$!'ujson',!" setup.py
|
sed -iEe "s!'ujson.*\$!'ujson',!" setup.py
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue