summary refs log tree commit diff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-11-17 22:30:33 +0100
committerDomen Kožar <domen@dev.si>2015-11-17 22:30:33 +0100
commita7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb (patch)
treec9079e76fc2d8ab3b9655f7198b09360110218c1
parent7fd2796e994842e7c7998ad81d7815838b0226fe (diff)
parentf1f7a438d1bd489972e281f419d477c98f68eb0f (diff)
downloadnixlib-a7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb.tar
nixlib-a7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb.tar.gz
nixlib-a7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb.tar.bz2
nixlib-a7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb.tar.lz
nixlib-a7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb.tar.xz
nixlib-a7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb.tar.zst
nixlib-a7e8addf98feb2e9b7eeb0f1251645a35e3eb6cb.zip
Merge pull request #11103 from samuelrivas/add-mixpanel
mixpanel: init at 4.0.2
-rw-r--r--pkgs/top-level/python-packages.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index cad90b3617e7..22cdc99fcefc 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}";