summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/awkward-pandas/default.nix
blob: fca22d234dee346052bb4c575308acac801cdb33 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
{
  lib,
  buildPythonPackage,
  fetchPypi,

  # build-system
  hatch-vcs,
  hatchling,

  # dependencies
  awkward,
  pandas,
}:

buildPythonPackage rec {
  pname = "awkward-pandas";
  version = "2023.8.0";
  pyproject = true;

  src = fetchPypi {
    pname = "awkward_pandas";
    inherit version;
    hash = "sha256-Vre3NSQVAkI6ya+0nbDdO7WQWlGlPN/kdunUMWqXX94=";
  };

  build-system = [
    hatch-vcs
    hatchling
  ];

  dependencies = [
    awkward
    pandas
  ];

  pythonImportsCheck = [
    "awkward_pandas"
  ];

  # There are no tests in the Pypi archive
  doCheck = false;

  meta = {
    description = "Awkward Array Pandas Extension";
    homepage = "https://pypi.org/project/awkward-pandas/";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}