python3Packages.biopandas: init at 0.4.1
This commit is contained in:
parent
7dc64e9b5a
commit
be04cbebe1
2 changed files with 64 additions and 0 deletions
62
pkgs/development/python-modules/biopandas/default.nix
Normal file
62
pkgs/development/python-modules/biopandas/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue