Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / mixpanel / default.nix
blob473520177177cb2677ec250ca9b1a545df8ef040
2 { buildPythonPackage
3 , fetchFromGitHub
4 , lib
6 # Python Dependencies
7 , six
8 , urllib3
9 , requests
11 # tests
12 , pytestCheckHook
13 , responses
16 buildPythonPackage rec {
17   pname = "mixpanel";
18   version = "4.10.0";
19   format = "setuptools";
21   src = fetchFromGitHub {
22     owner = "mixpanel";
23     repo = "mixpanel-python";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-jV2NLEc23uaI5Q7ZXDwGaZV9iAKQLMAETRTw8epZwQA=";
26   };
28   propagatedBuildInputs = [
29     requests
30     six
31     urllib3
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     responses
37   ];
39   meta = with lib; {
40     homepage = "https://github.com/mixpanel/mixpanel-python";
41     description = "Official Mixpanel Python library";
42     license = licenses.asl20;
43     maintainers = with maintainers; [
44       kamadorueda
45     ];
46   };