14 buildPythonPackage rec {
15 pname = "array-record";
19 # As of 2023-10-31, PyPI includes wheels for Python 3.9, 3.10, and 3.11.
20 disabled = pythonOlder "3.9" || pythonAtLeast "3.12";
23 pyShortVersion = "cp${builtins.replaceStrings ["."] [""] python.pythonVersion}";
25 inherit version format;
26 pname = "array_record";
27 dist = pyShortVersion;
28 python = pyShortVersion;
30 platform = "manylinux_2_17_x86_64.manylinux2014_x86_64";
32 cp39 = "sha256-BzMOVue7E1S1+5+XTcPELko81ujc9MbmqLhNsU7pqO0=";
33 cp310 = "sha256-eUD9pQu9GsbV8MPD1MiF3Ihr+zYioSOo6P15hYIwPYo=";
34 cp311 = "sha256-rAmkI3EIZPYiXrxFowfDC0Gf3kRw0uX0i6Kx6Zu+hNM=";
35 }.${pyShortVersion} or (throw "${pname} is missing hash for ${pyShortVersion}");
38 propagatedBuildInputs = [
46 pythonImportsCheck = [ "array_record" ];
49 description = "ArrayRecord is a new file format derived from Riegeli, achieving a new frontier of IO efficiency";
50 homepage = "https://github.com/google/array_record";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ GaetanLepage ];
53 platforms = [ "x86_64-linux" ];