16 buildPythonPackage rec {
17 pname = "fastparquet";
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
27 hash = "sha256-rWrbHHcJMahaUV8+YuKkZUhdboNFUK9btjvdg74lCxc=";
30 propagatedBuildInputs = [
39 passthru.optional-dependencies = {
50 substituteInPlace setup.py \
51 --replace "'pytest-runner'," "" \
52 --replace "oldest-supported-numpy" "numpy"
56 # Workaround https://github.com/NixOS/nixpkgs/issues/123561
60 fastparquet_test="$out"/${python.sitePackages}/fastparquet/test
61 ln -s `pwd`/test "$fastparquet_test"
65 rm "$fastparquet_test"
68 pythonImportsCheck = [
73 description = "A python implementation of the parquet format";
74 homepage = "https://github.com/dask/fastparquet";
75 license = with licenses; [ asl20 ];
76 maintainers = with maintainers; [ veprbl ];