21 buildPythonPackage rec {
24 format = "setuptools";
26 disabled = pythonOlder "3.6";
29 inherit pname version;
30 hash = "sha256-sLjdGHiS7Co/oA9gQyAFkD14tAYjmwjWcPr4CRrzw/0=";
33 cargoDeps = rustPlatform.fetchCargoTarball {
35 name = "${pname}-${version}";
36 hash = "sha256-5TlgWcLmjklxhtDbB0aRF71iIRTJwetFj1Jii1DGdvU=";
43 rustPlatform.cargoSetupHook
51 propagatedBuildInputs = [
64 # RuntimeError: No ping received.
65 "test_client_activity_api"
66 "test_flipping_upload_enabled_respects_order_of_events"
69 postInstallCheck = lib.optionalString stdenv.hostPlatform.isElf ''
70 readelf -a $out/${python.sitePackages}/glean/libglean_ffi.so | grep -F 'Shared library: [liblmdb.so'
73 pythonImportsCheck = [
78 broken = stdenv.isDarwin;
79 description = "Telemetry client libraries and are a part of the Glean project";
80 homepage = "https://mozilla.github.io/glean/book/index.html";
81 license = licenses.mpl20;
82 maintainers = with maintainers; [ melling ];