{ buildPythonPackage, fetchPypi, setuptools, anyio, cryptography, httpx, protobuf, pytest }: buildPythonPackage rec { pname = "signalstickers-client"; version = "3.3.0"; src = fetchPypi { pname = "signalstickers-client"; inherit version; sha256 = "sha256-5be/SdVhCH8lF2Vq2sJpt9R9htGO+wj+Q7Cp8S8NZXo="; }; propagatedBuildInputs = [ anyio cryptography httpx protobuf setuptools ]; checkInputs = [ pytest anyio httpx protobuf ]; postPatch = '' substituteInPlace setup.py \ --replace 'protobuf>=3.13.0,<4.0.0' 'protobuf>=3.13' substituteInPlace setup.py \ --replace 'cryptography>=3.1.1,<4.0.0' 'cryptography' substituteInPlace setup.py \ --replace 'httpx>=0.16.1,<=0.24.1' 'httpx' substituteInPlace setup.py \ --replace 'anyio>=3.0.0,<4.0.0' 'anyio' ''; }