python311Packages.flow-record: format with nixfmt
This commit is contained in:
parent
0676b7aea3
commit
6457221e88
1 changed files with 18 additions and 27 deletions
|
@ -1,15 +1,16 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, elasticsearch
|
||||
, fastavro
|
||||
, fetchFromGitHub
|
||||
, lz4
|
||||
, msgpack
|
||||
, pytest7CheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, zstandard
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
elasticsearch,
|
||||
fastavro,
|
||||
fetchFromGitHub,
|
||||
lz4,
|
||||
msgpack,
|
||||
pytest7CheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
zstandard,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -31,39 +32,29 @@ buildPythonPackage rec {
|
|||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
msgpack
|
||||
];
|
||||
dependencies = [ msgpack ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
compression = [
|
||||
lz4
|
||||
zstandard
|
||||
];
|
||||
elastic = [
|
||||
elasticsearch
|
||||
];
|
||||
avro = [
|
||||
fastavro
|
||||
] ++ fastavro.optional-dependencies.snappy;
|
||||
elastic = [ elasticsearch ];
|
||||
avro = [ fastavro ] ++ fastavro.optional-dependencies.snappy;
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest7CheckHook
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flow.record"
|
||||
];
|
||||
pythonImportsCheck = [ "flow.record" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Test requires rdump
|
||||
"tests/test_rdump.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_rdump_fieldtype_path_json"
|
||||
];
|
||||
disabledTests = [ "test_rdump_fieldtype_path_json" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for defining and creating structured data";
|
||||
|
|
Loading…
Reference in a new issue