diff --git a/pkgs/development/python-modules/mixpanel/default.nix b/pkgs/development/python-modules/mixpanel/default.nix index 5f232d58047b..275c23b1a0c6 100644 --- a/pkgs/development/python-modules/mixpanel/default.nix +++ b/pkgs/development/python-modules/mixpanel/default.nix @@ -3,37 +3,48 @@ fetchFromGitHub, lib, - # Python Dependencies - six, - urllib3, + # build-system + setuptools, + + # dependencies + asgiref, + httpx, + pydantic, requests, # tests + pytest-asyncio, pytestCheckHook, responses, + respx, }: buildPythonPackage rec { pname = "mixpanel"; - version = "4.10.1"; - format = "setuptools"; + version = "5.0.0"; + pyproject = true; src = fetchFromGitHub { owner = "mixpanel"; repo = "mixpanel-python"; tag = "v${version}"; - hash = "sha256-i5vT5FTnw+BanHHrlRsPJ3EooZjQcaosbaHoh/uPRmQ="; + hash = "sha256-Q8Kn2dyID1hYjKmEv0e+R/y5dsp/JEkqCdNqQHJsOrI="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ + asgiref + httpx + pydantic requests - six - urllib3 ]; nativeCheckInputs = [ + pytest-asyncio pytestCheckHook responses + respx ]; meta = {