mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
44 lines
835 B
Nix
44 lines
835 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, python-snappy
|
|
, 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
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|