at 22.05-pre 44 lines 806 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pandas 5, dask 6, fastparquet 7, pyarrow 8}: 9 10buildPythonPackage rec { 11 pname = "intake-parquet"; 12 version = "0.2.3"; 13 14 src = fetchFromGitHub { 15 owner = "intake"; 16 repo = pname; 17 rev = version; 18 sha256 = "037jd3qkk6dybssp570kzvaln2c6pk2avd2b5mll42gaxdxxnp02"; 19 }; 20 21 propagatedBuildInputs = [ 22 pandas 23 dask 24 fastparquet 25 pyarrow 26 ]; 27 28 postPatch = '' 29 # Break circular dependency 30 substituteInPlace requirements.txt \ 31 --replace "intake" "" 32 ''; 33 34 doCheck = false; 35 36 #pythonImportsCheck = [ "intake_parquet" ]; 37 38 meta = with lib; { 39 description = "Parquet plugin for Intake"; 40 homepage = "https://github.com/intake/intake-parquet"; 41 license = licenses.bsd2; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}