python3Packages.parquet: init at 1.3.1

This commit is contained in:
Fabian Affolter 2021-09-19 17:00:34 +02:00
parent ef307af08e
commit ff34dbb4fa
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, python-snappy
, pythonOlder
, thriftpy2
}:
buildPythonPackage rec {
pname = "parquet";
version = "1.3.1";
src = fetchFromGitHub {
owner = "jcrobak";
repo = "parquet-python";
rev = "v${version}";
sha256 = "1ahvg4dz9fzi4vdm9jmslq3v3jahjj17fdcc5fljgcw6h9yxyl2r";
};
propagatedBuildInputs = [
python-snappy
thriftpy2
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Fails with AttributeError
"test_bson"
"testFromExample"
];
pythonImportsCheck = [ "thriftpy2" ];
meta = with lib; {
description = "Python implementation of the parquet columnar file format";
homepage = "https://github.com/jcrobak/parquet-python";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5265,6 +5265,8 @@ in {
parfive = callPackage ../development/python-modules/parfive { };
parquet = callPackage ../development/python-modules/parquet { };
parse = callPackage ../development/python-modules/parse { };
parsedatetime = callPackage ../development/python-modules/parsedatetime { };