Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.3.0"; 13 14 src = fetchFromGitHub { 15 owner = "intake"; 16 repo = pname; 17 rev = version; 18 sha256 = "sha256-zSwylXBKOM/tG5mwYtc0FmxwcKJ6j+lw1bxJqf57NY8="; 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}