python3Packages.mixpanel: 4.5.0 -> 4.10.0
This commit is contained in:
parent
98d9e9f75d
commit
5185f467f3
|
@ -1,40 +1,41 @@
|
||||||
|
|
||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, isPy37
|
|
||||||
, lib
|
, lib
|
||||||
|
|
||||||
# Python Dependencies
|
# Python Dependencies
|
||||||
, mock
|
|
||||||
, pytest
|
|
||||||
, six
|
, six
|
||||||
|
, urllib3
|
||||||
|
, requests
|
||||||
|
|
||||||
|
# tests
|
||||||
|
, pytestCheckHook
|
||||||
|
, responses
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mixpanel";
|
pname = "mixpanel";
|
||||||
version = "4.5.0";
|
version = "4.10.0";
|
||||||
disabled = !isPy37;
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mixpanel";
|
owner = "mixpanel";
|
||||||
repo = "mixpanel-python";
|
repo = "mixpanel-python";
|
||||||
rev = version;
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "1hlc717wcn71i37ngsfb3c605rlyjhsn3v6b5bplq00373r4d39z";
|
hash = "sha256-jV2NLEc23uaI5Q7ZXDwGaZV9iAKQLMAETRTw8epZwQA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
six
|
six
|
||||||
|
urllib3
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
mock
|
pytestCheckHook
|
||||||
pytest
|
responses
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/mixpanel/mixpanel-python";
|
homepage = "https://github.com/mixpanel/mixpanel-python";
|
||||||
description = "Official Mixpanel Python library";
|
description = "Official Mixpanel Python library";
|
||||||
|
|
Loading…
Reference in a new issue