Files
nixpkgs/pkgs/development/python-modules/biocframe/default.nix
T

53 lines
872 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
setuptools,
setuptools-scm,
biocutils,
numpy,
polars,
pandas,
}:
buildPythonPackage rec {
pname = "biocframe";
version = "0.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "BiocPy";
repo = "BiocFrame";
tag = version;
hash = "sha256-2O4YINYo9ehiBuZSHZmBmNIwud7GkNzAMWEv2/7oSs8=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
biocutils
numpy
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
pandas
polars
];
pythonImportsCheck = [ "biocframe" ];
meta = {
description = "Bioconductor-like data frames";
homepage = "https://github.com/BiocPy/BiocFrame";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ b-rodrigues ];
};
}