1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "pyarrow-hotfix";
11 version = "0.7";
12 pyproject = true;
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "pitrou";
18 repo = "pyarrow-hotfix";
19 tag = "v${version}";
20 hash = "sha256-9K7rQUSd+at1WghTP8DlD44Op2VkvN1vlzF3ZLEIaRE=";
21 };
22
23 nativeBuildInputs = [ hatchling ];
24
25 pythonImportsCheck = [ "pyarrow_hotfix" ];
26
27 meta = with lib; {
28 description = "Hotfix for the PyArrow security vulnerability CVE-2023-47248";
29 homepage = "https://github.com/pitrou/pyarrow-hotfix";
30 changelog = "https://github.com/pitrou/pyarrow-hotfix/releases/tag/v${version}";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ fab ];
33 };
34}