blob: fac1afe2c97bb4a57d7a3ff76b71383810300e90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ buildPythonPackage
, fetchFromGitHub
, isPy37
, lib
# Python Dependencies
, mock
, pytest
, six
}:
buildPythonPackage rec {
pname = "mixpanel";
version = "4.5.0";
disabled = !isPy37;
src = fetchFromGitHub {
owner = "mixpanel";
repo = "mixpanel-python";
rev = version;
sha256 = "1hlc717wcn71i37ngsfb3c605rlyjhsn3v6b5bplq00373r4d39z";
};
propagatedBuildInputs = [
six
];
checkInputs = [
mock
pytest
];
checkPhase = ''
py.test
'';
meta = with lib; {
homepage = "https://github.com/mixpanel/mixpanel-python";
description = "Official Mixpanel Python library";
license = licenses.asl20;
maintainers = with maintainers; [
kamadorueda
];
};
}
|