Commit 28177221 authored by Gaetan Lepage's avatar Gaetan Lepage Committed by Florian Klink
Browse files

python312Packages.array-record: 0.5.0 -> 0.7.1

parent 8186ecd2
Loading
Loading
Loading
Loading
+10 −17
Original line number Diff line number Diff line
@@ -7,18 +7,14 @@
  fetchPypi,
  absl-py,
  etils,
  importlib-resources,
  typing-extensions,
  zipp,
}:

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

  # As of 2023-10-31, PyPI includes wheels for Python 3.9, 3.10, and 3.11.
  disabled = pythonOlder "3.9" || pythonAtLeast "3.12";
  disabled = pythonOlder "3.10" || pythonAtLeast "3.13";

  src =
    let
@@ -33,28 +29,25 @@ buildPythonPackage rec {
      platform = "manylinux_2_17_x86_64.manylinux2014_x86_64";
      hash =
        {
          cp39 = "sha256-BzMOVue7E1S1+5+XTcPELko81ujc9MbmqLhNsU7pqO0=";
          cp310 = "sha256-eUD9pQu9GsbV8MPD1MiF3Ihr+zYioSOo6P15hYIwPYo=";
          cp311 = "sha256-rAmkI3EIZPYiXrxFowfDC0Gf3kRw0uX0i6Kx6Zu+hNM=";
          cp310 = "sha256-JDaj1iJy1BQ7fHjmCbGQkNqG5rIRuwTwENbanM9a8hg=";
          cp311 = "sha256-QVynMK9t0BnEtgdfbJ5T3s7N02i0XD2siUSRxKtrI+M=";
          cp312 = "sha256-xJJGm6kLQ2/TzVYTrBtQ1Hqky1odHfbhe/g+PSSYt1c=";
        }
        .${pyShortVersion} or (throw "${pname} is missing hash for ${pyShortVersion}");
    };

  propagatedBuildInputs = [
  dependencies = [
    absl-py
    etils
    importlib-resources
    typing-extensions
    zipp
  ];
  ] ++ etils.optional-dependencies.epath;

  pythonImportsCheck = [ "array_record" ];

  meta = with lib; {
  meta = {
    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 ];
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ GaetanLepage ];
    platforms = [ "x86_64-linux" ];
  };
}