From f1f7a438d1bd489972e281f419d477c98f68eb0f Mon Sep 17 00:00:00 2001 From: Samuel Rivas Date: Tue, 17 Nov 2015 22:19:54 +0100 Subject: mixpanel: init at 4.0.2 --- pkgs/top-level/python-packages.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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}"; -- cgit 1.4.1