nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 56 lines 909 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 6 # build-system 7 setuptools, 8 9 # dependencies 10 asgiref, 11 httpx, 12 pydantic, 13 requests, 14 15 # tests 16 pytest-asyncio, 17 pytestCheckHook, 18 responses, 19 respx, 20}: 21 22buildPythonPackage rec { 23 pname = "mixpanel"; 24 version = "5.0.0"; 25 pyproject = true; 26 27 src = fetchFromGitHub { 28 owner = "mixpanel"; 29 repo = "mixpanel-python"; 30 tag = "v${version}"; 31 hash = "sha256-Q8Kn2dyID1hYjKmEv0e+R/y5dsp/JEkqCdNqQHJsOrI="; 32 }; 33 34 build-system = [ setuptools ]; 35 36 dependencies = [ 37 asgiref 38 httpx 39 pydantic 40 requests 41 ]; 42 43 nativeCheckInputs = [ 44 pytest-asyncio 45 pytestCheckHook 46 responses 47 respx 48 ]; 49 50 meta = { 51 homepage = "https://github.com/mixpanel/mixpanel-python"; 52 description = "Official Mixpanel Python library"; 53 license = lib.licenses.asl20; 54 maintainers = with lib.maintainers; [ kamadorueda ]; 55 }; 56}