21 inherit pname version;
22 format = "setuptools";
24 src = fetchFromGitHub {
26 repo = "posthog-python";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-DhTX28j8RcEONEVIRoYHBk63Qw1Wff9qdQ/Ymbb9xHE=";
31 propagatedBuildInputs = [
45 pythonImportsCheck = [ "posthog" ];
48 "test_load_feature_flags_wrong_key"
49 # Tests require network access
55 description = "Official PostHog python library";
56 homepage = "https://github.com/PostHog/posthog-python";
57 changelog = "https://github.com/PostHog/posthog-python/releases/tag/v${version}";
58 license = licenses.mit;
59 maintainers = with maintainers; [ happysalada ];