about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/array-record/default.nix
blob: 98362396de589a0a68790c647301515d8ba1e247 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, absl-py
, buildPythonPackage
, etils
, fetchPypi
, importlib-resources
, python
, typing-extensions
, zipp
}:

buildPythonPackage rec {
  pname = "array-record";
  version = "0.4.0";
  format = "wheel";

  disabled = python.pythonVersion != "3.10";

  src = fetchPypi {
    inherit version format;
    pname = "array_record";
    dist = "py310";
    python = "py310";
    hash = "sha256-VHDU6RLR/z3/tNxJiDdAruz1cva6cHu5NzMlsKrLYXg=";
  };

  propagatedBuildInputs = [
    absl-py
    etils
    importlib-resources
    typing-extensions
    zipp
  ];

  pythonImportsCheck = [ "array_record" ];

  meta = with lib; {
    description = "ArrayRecord is a new file format derived from Riegeli, achieving a new frontier of IO efficiency";
    homepage = "https://github.com/google/array_record";
    license = licenses.asl20;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}