1{ lib
2, absl-py
3, buildPythonPackage
4, etils
5, fetchPypi
6, importlib-resources
7, python
8, typing-extensions
9, zipp
10}:
11
12buildPythonPackage rec {
13 pname = "array-record";
14 version = "0.4.0";
15 format = "wheel";
16
17 disabled = python.pythonVersion != "3.10";
18
19 src = fetchPypi {
20 inherit version format;
21 pname = "array_record";
22 dist = "py310";
23 python = "py310";
24 hash = "sha256-VHDU6RLR/z3/tNxJiDdAruz1cva6cHu5NzMlsKrLYXg=";
25 };
26
27 propagatedBuildInputs = [
28 absl-py
29 etils
30 importlib-resources
31 typing-extensions
32 zipp
33 ];
34
35 pythonImportsCheck = [ "array_record" ];
36
37 meta = with lib; {
38 description = "ArrayRecord is a new file format derived from Riegeli, achieving a new frontier of IO efficiency";
39 homepage = "https://github.com/google/array_record";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ GaetanLepage ];
42 platforms = [ "x86_64-linux" ];
43 };
44}