at master 782 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 6 # Python Dependencies 7 six, 8 urllib3, 9 requests, 10 11 # tests 12 pytestCheckHook, 13 responses, 14}: 15 16buildPythonPackage rec { 17 pname = "mixpanel"; 18 version = "4.10.1"; 19 format = "setuptools"; 20 21 src = fetchFromGitHub { 22 owner = "mixpanel"; 23 repo = "mixpanel-python"; 24 tag = "v${version}"; 25 hash = "sha256-i5vT5FTnw+BanHHrlRsPJ3EooZjQcaosbaHoh/uPRmQ="; 26 }; 27 28 propagatedBuildInputs = [ 29 requests 30 six 31 urllib3 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 responses 37 ]; 38 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; [ kamadorueda ]; 44 }; 45}