Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / parquet / default.nix
blob85eb41fa51d43a009086dfd15b3511690060568b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , python-snappy
6 , thriftpy2
7 }:
9 buildPythonPackage rec {
10   pname = "parquet";
11   version = "1.3.1";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "jcrobak";
16     repo = "parquet-python";
17     rev = "v${version}";
18     sha256 = "1ahvg4dz9fzi4vdm9jmslq3v3jahjj17fdcc5fljgcw6h9yxyl2r";
19   };
21   propagatedBuildInputs = [
22     python-snappy
23     thriftpy2
24   ];
26   nativeCheckInputs = [
27     pytestCheckHook
28   ];
30   disabledTests = [
31     # Fails with AttributeError
32     "test_bson"
33     "testFromExample"
34   ];
36   pythonImportsCheck = [ "thriftpy2" ];
38   meta = with lib; {
39     description = "Python implementation of the parquet columnar file format";
40     mainProgram = "parquet";
41     homepage = "https://github.com/jcrobak/parquet-python";
42     license = licenses.bsd2;
43     maintainers = with maintainers; [ fab ];
44   };