Something went wrong. Try again.
lol
Something went wrong. Try again.
1.5 kB · 86 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, buildPythonPackage, fetchFromGitHub,
# build-system cython, setuptools, setuptools-scm,
# nativeBuildInputs gitMinimal,
# dependencies cramjam, fsspec, numpy, packaging, pandas,
# optional-dependencies python-lzo,
# tests pytestCheckHook, python,}:
buildPythonPackage rec { pname = "fastparquet"; version = "2026.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "dask"; repo = "fastparquet"; tag = version; hash = "sha256-lf3GBfusZ1dhQ6wdHmfegqSlwG4Gm5Bi4+nof9yCg/o="; };
build-system = [ cython setuptools setuptools-scm ];
nativeBuildInputs = [ gitMinimal ];
dependencies = [ cramjam fsspec numpy packaging pandas ];
optional-dependencies = { lzo = [ python-lzo ]; };
nativeCheckInputs = [ pytestCheckHook ];
# Workaround https://github.com/NixOS/nixpkgs/issues/123561 preCheck = '' mv fastparquet/test . rm -r fastparquet fastparquet_test="$out"/${python.sitePackages}/fastparquet/test ln -s `pwd`/test "$fastparquet_test" '';
postCheck = '' rm "$fastparquet_test" '';
pythonImportsCheck = [ "fastparquet" ];
meta = { description = "Implementation of the parquet format"; homepage = "https://github.com/dask/fastparquet"; changelog = "https://github.com/dask/fastparquet/blob/${version}/docs/source/releasenotes.rst"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ veprbl ]; };}