about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyarrow-hotfix/default.nix
blob: 38a8dc4b6ea85c785390dbd9ca1c272de2639426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, pythonOlder
}:

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=";
  };

  nativeBuildInputs = [
    hatchling
  ];

  pythonImportsCheck = [
    "pyarrow_hotfix"
  ];

  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 ];
  };
}