Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
looseversion,
|
|
mmtf-python,
|
|
numpy,
|
|
pandas,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "biopandas";
|
|
version = "0.5.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BioPandas";
|
|
repo = "biopandas";
|
|
tag = "v${version}";
|
|
hash = "sha256-dUeGjDDz9VA1NrFLGKy0ebaa+MU4c1tHi5YYkAspLRk=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "looseversion" ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
numpy
|
|
pandas
|
|
mmtf-python
|
|
looseversion
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
disabledTests = [
|
|
# require network access
|
|
"test_mmcif_pdb_conversion"
|
|
"test_fetch_pdb"
|
|
"test_write_mmtf_bp"
|
|
"test_write_mmtf"
|
|
"test_b_factor_shift"
|
|
];
|
|
|
|
pythonImportsCheck = [ "biopandas" ];
|
|
|
|
meta = {
|
|
description = "Working with molecular structures in pandas DataFrames";
|
|
homepage = "https://github.com/BioPandas/biopandas";
|
|
changelog = "https://github.com/BioPandas/biopandas/releases/tag/v${version}";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ natsukium ];
|
|
};
|
|
}
|