mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
49 lines
888 B
Nix
49 lines
888 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
setuptools,
|
|
setuptools-scm,
|
|
scipy,
|
|
pandas,
|
|
numpy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "biocutils";
|
|
version = "0.3.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BiocPy";
|
|
repo = "BiocUtils";
|
|
tag = "${version}";
|
|
hash = "sha256-YjFlPORQTrB3JOBVlIKUVTzsVydrn25Uw8YSSc5ppNM=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [ numpy ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
pandas
|
|
scipy
|
|
];
|
|
|
|
pythonImportsCheck = [ "biocutils" ];
|
|
|
|
meta = {
|
|
description = "Miscellaneous utilities for BiocPy, mostly to mimic base functionality in R";
|
|
homepage = "https://github.com/BiocPy/BiocUtils";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ b-rodrigues ];
|
|
};
|
|
}
|