587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
47 lines
789 B
Nix
47 lines
789 B
Nix
|
|
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, lib
|
|
|
|
# Python Dependencies
|
|
, six
|
|
, urllib3
|
|
, requests
|
|
|
|
# tests
|
|
, pytestCheckHook
|
|
, responses
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mixpanel";
|
|
version = "4.10.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mixpanel";
|
|
repo = "mixpanel-python";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-i5vT5FTnw+BanHHrlRsPJ3EooZjQcaosbaHoh/uPRmQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
six
|
|
urllib3
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
responses
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mixpanel/mixpanel-python";
|
|
description = "Official Mixpanel Python library";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [
|
|
kamadorueda
|
|
];
|
|
};
|
|
}
|