1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 pytest-cov-stub,
7 setuptools,
8 setuptools-scm,
9 biocutils,
10 numpy,
11 polars,
12 pandas,
13}:
14
15buildPythonPackage rec {
16 pname = "biocframe";
17 version = "0.6.3";
18 pyproject = true;
19
20 src = fetchFromGitHub {
21 owner = "BiocPy";
22 repo = "BiocFrame";
23 tag = "${version}";
24 hash = "sha256-HeXQEVDGrr/oEGqLcKgq2RLDA58sbYtc2O6oEdFxrIw=";
25 };
26
27 build-system = [
28 setuptools
29 setuptools-scm
30 ];
31
32 dependencies = [
33 biocutils
34 numpy
35 ];
36
37 nativeCheckInputs = [
38 pytest-cov-stub
39 pytestCheckHook
40 pandas
41 polars
42 ];
43
44 pythonImportsCheck = [ "biocframe" ];
45
46 meta = {
47 description = "Bioconductor-like data frames";
48 homepage = "https://github.com/BiocPy/BiocFrame";
49 license = lib.licenses.mit;
50 maintainers = with lib.maintainers; [ b-rodrigues ];
51 };
52}