21 buildPythonPackage rec {
22 pname = "flow-record";
26 disabled = pythonOlder "3.9";
28 src = fetchFromGitHub {
31 rev = "refs/tags/${version}";
32 hash = "sha256-tEKmwDZOoGIXfJqxIat6WTbEv4EkiwkJGMpNxfv2Zd0=";
40 dependencies = [ msgpack ];
42 optional-dependencies = {
51 elastic = [ elasticsearch ];
52 geoip = [ maxminddb ];
53 avro = [ fastavro ] ++ fastavro.optional-dependencies.snappy;
60 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
62 pythonImportsCheck = [ "flow.record" ];
69 disabledTests = [ "test_rdump_fieldtype_path_json" ];
72 description = "Library for defining and creating structured data";
73 homepage = "https://github.com/fox-it/flow.record";
74 changelog = "https://github.com/fox-it/flow.record/releases/tag/${version}";
75 license = licenses.agpl3Only;
76 maintainers = with maintainers; [ fab ];