21 buildPythonPackage rec {
25 disabled = pythonOlder "3.6";
28 inherit pname version;
29 hash = "sha256-sLjdGHiS7Co/oA9gQyAFkD14tAYjmwjWcPr4CRrzw/0=";
32 cargoDeps = rustPlatform.fetchCargoTarball {
34 name = "${pname}-${version}";
35 hash = "sha256-5TlgWcLmjklxhtDbB0aRF71iIRTJwetFj1Jii1DGdvU=";
42 rustPlatform.cargoSetupHook
50 propagatedBuildInputs = [
63 # RuntimeError: No ping received.
64 "test_client_activity_api"
65 "test_flipping_upload_enabled_respects_order_of_events"
68 postInstallCheck = lib.optionalString (stdenv.hostPlatform.parsed.kernel.execFormat == lib.systems.parse.execFormats.elf) ''
69 readelf -a $out/${python.sitePackages}/glean/libglean_ffi.so | grep -F 'Shared library: [liblmdb.so'
72 pythonImportsCheck = [
77 broken = stdenv.isDarwin;
78 description = "Telemetry client libraries and are a part of the Glean project";
79 homepage = "https://mozilla.github.io/glean/book/index.html";
80 license = licenses.mpl20;
81 maintainers = with maintainers; [ melling ];