Skip to content

Commit

Permalink
python3Packages.mocket: 3.9.2 -> 3.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored and Jonathan Ringer committed Nov 18, 2020
1 parent 832add5 commit ed6d6eb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pkgs/development/python-modules/mocket/default.nix
Expand Up @@ -9,17 +9,16 @@

buildPythonPackage rec {
pname = "mocket";
version = "3.9.2";
version = "3.9.3";

src = fetchPypi {
inherit pname version;
sha256 = "25aba0b343784b27b1d77e731ed868a728d5209911f9f4728f33088582e491c9";
sha256 = "15npwf0f8g5vmwpmyvmsyi4p9ia1w95z8jips0nkfs978pnjy69g";
};

patchPhase = ''
substituteInPlace requirements.txt \
--replace "python-magic==0.4.18" "python-magic" \
--replace "urllib3==1.25.10" "urllib3"
sed -iE "s,python-magic==.*,python-magic," requirements.txt
sed -iE "s,urllib3==.*,urllib3," requirements.txt
substituteInPlace setup.py --replace 'setup_requires=["pipenv"]' "setup_requires=[]"
'';

Expand Down

0 comments on commit ed6d6eb

Please sign in to comment.