python3Packages.biopandas: init at 0.4.1

This commit is contained in:
natsukium 2023-06-14 21:54:44 +09:00
parent 7dc64e9b5a
commit be04cbebe1
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
2 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,62 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, looseversion
, mmtf-python
, nose
, numpy
, pandas
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "biopandas";
version = "0.4.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "BioPandas";
repo = "biopandas";
rev = "refs/tags/v${version}";
hash = "sha256-PRdemBo+bB2xJWmF2NylFTfNwEEo67i6XSaeDAFmQ/c=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"looseversion"
];
propagatedBuildInputs = [
numpy
pandas
mmtf-python
looseversion
];
nativeCheckInputs = [
nose
];
checkPhase = ''
runHook preCheck
nosetests
runHook postCheck
'';
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/${src.rev}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ natsukium ];
};
}

View file

@ -1316,6 +1316,8 @@ self: super: with self; {
binwalk-full = self.binwalk.override { visualizationSupport = true; };
biopandas = callPackage ../development/python-modules/biopandas { };
biopython = callPackage ../development/python-modules/biopython { };
biplist = callPackage ../development/python-modules/biplist { };