python3Packages.mocket: 3.9.2 -> 3.9.3
This commit is contained in:
parent
832add5165
commit
ed6d6ebca7
|
@ -9,17 +9,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mocket";
|
pname = "mocket";
|
||||||
version = "3.9.2";
|
version = "3.9.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "25aba0b343784b27b1d77e731ed868a728d5209911f9f4728f33088582e491c9";
|
sha256 = "15npwf0f8g5vmwpmyvmsyi4p9ia1w95z8jips0nkfs978pnjy69g";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace requirements.txt \
|
sed -iE "s,python-magic==.*,python-magic," requirements.txt
|
||||||
--replace "python-magic==0.4.18" "python-magic" \
|
sed -iE "s,urllib3==.*,urllib3," requirements.txt
|
||||||
--replace "urllib3==1.25.10" "urllib3"
|
|
||||||
substituteInPlace setup.py --replace 'setup_requires=["pipenv"]' "setup_requires=[]"
|
substituteInPlace setup.py --replace 'setup_requires=["pipenv"]' "setup_requires=[]"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue