2021-02-17 17:02:09 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, numba, numpy, pandas, pytestrunner
|
|
|
|
, thrift, pytestCheckHook, python-snappy, lz4, zstandard, zstd }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fastparquet";
|
2021-01-05 17:05:55 +00:00
|
|
|
version = "0.5.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dask";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-01-05 17:05:55 +00:00
|
|
|
sha256 = "17i091kky34m2xivk29fqsyxxxa7v4352n79w01n7ni93za6wana";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ numba numpy pandas thrift ];
|
2021-02-17 17:02:09 +00:00
|
|
|
checkInputs = [ pytestCheckHook python-snappy lz4 zstandard zstd ];
|
|
|
|
|
|
|
|
# E ModuleNotFoundError: No module named 'fastparquet.speedups'
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "fastparquet" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A python implementation of the parquet format";
|
|
|
|
homepage = "https://github.com/dask/fastparquet";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|