diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bbb4d6d87af2..b3d14de95f06 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2796,6 +2796,28 @@ let }; }; + mixpanel = buildPythonPackage rec { + version = "4.0.2"; + name = "mixpanel-${version}"; + + src = pkgs.fetchzip { + url = "https://github.com/mixpanel/mixpanel-python/archive/${version}.zip"; + sha256 = "0yq1bcsjzsz7yz4rp69izsdn47rvkld4wki2xmapp8gg2s9i8709"; + }; + + buildInputs = with self; [ pytest mock ]; + propagatedBuildInputs = with self; [ six ]; + checkPhase = "py.test tests.py"; + + meta = { + homepage = https://github.com/mixpanel/mixpanel-python; + description = "This is the official Mixpanel Python library. This library + allows for server-side integration of Mixpanel."; + license = stdenv.lib.licenses.asl20; + }; + }; + + pkginfo = buildPythonPackage rec { version = "1.2.1"; name = "pkginfo-${version}";