Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / intake-parquet / default.nix
blob809d9efcc7cac9094b3ddb4822efa22414b6ab4d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pandas
5 , dask
6 , fastparquet
7 , pyarrow
8 , setuptools
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "intake-parquet";
14   version = "0.3.0";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "intake";
21     repo = "intake-parquet";
22     rev = "refs/tags/${version}";
23     hash = "sha256-zSwylXBKOM/tG5mwYtc0FmxwcKJ6j+lw1bxJqf57NY8=";
24   };
26   postPatch = ''
27     # Break circular dependency
28     substituteInPlace requirements.txt \
29       --replace-fail "intake" ""
30   '';
32   nativeBuildInputs = [
33     setuptools
34   ];
36   propagatedBuildInputs = [
37     pandas
38     dask
39     fastparquet
40     pyarrow
41   ];
43   doCheck = false;
45   #pythonImportsCheck = [ "intake_parquet" ];
47   meta = with lib; {
48     description = "Parquet plugin for Intake";
49     homepage = "https://github.com/intake/intake-parquet";
50     license = licenses.bsd2;
51     maintainers = with maintainers; [ fab ];
52   };