2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
hatchling,
|
|
|
|
pythonOlder,
|
2024-01-25 14:12:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyarrow-hotfix";
|
|
|
|
version = "0.6";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pitrou";
|
|
|
|
repo = "pyarrow-hotfix";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-LlSbxIxvouzvlP6PB8J8fJaxWoRbxz4wTs7Gb5LbM4A=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ hatchling ];
|
2024-01-25 14:12:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pyarrow_hotfix" ];
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Hotfix for the PyArrow security vulnerability CVE-2023-47248";
|
|
|
|
homepage = "https://github.com/pitrou/pyarrow-hotfix";
|
|
|
|
changelog = "https://github.com/pitrou/pyarrow-hotfix/releases/tag/v${version}";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|