44 lines
890 B
Nix
44 lines
890 B
Nix
{ 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 ];
|
|
};
|
|
}
|