16 buildPythonPackage rec {
21 src = fetchFromGitHub {
23 repo = "posthog-python";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-1evqG/rdHBs0bAHM+bIHyT4tFE6tAE+aJyu5r0QqAMk=";
28 build-system = [ setuptools ];
44 pythonImportsCheck = [ "posthog" ];
47 "test_load_feature_flags_wrong_key"
48 # Tests require network access
51 "test_trying_to_use_django_integration"
56 description = "Module for interacting with PostHog";
57 homepage = "https://github.com/PostHog/posthog-python";
58 changelog = "https://github.com/PostHog/posthog-python/releases/tag/v${version}";
59 license = licenses.mit;
60 maintainers = with maintainers; [ happysalada ];