20 inherit pname version;
21 format = "setuptools";
23 src = fetchFromGitHub {
25 repo = "posthog-python";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-+nYMQxqI9RZ5vVL6KgiRLcx0JHWJTs/rZ6U6jIuaz+w=";
30 propagatedBuildInputs = [
44 pythonImportsCheck = [
49 "test_load_feature_flags_wrong_key"
50 # Tests require network access
56 description = "Official PostHog python library";
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 ];