python3Packages.baycomp: init at 1.0.2

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2023-07-08 14:46:53 -03:00
parent 27c6502cb9
commit c7e99a323b
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, scikit-learn
, matplotlib
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "baycomp";
version = "1.0.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-xDRywWvXzfSITdTHPdMH5KPacJf+Scg81eiNdRQpI7A=";
};
propagatedBuildInputs = [
numpy
scipy
matplotlib
];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "baycomp" ];
meta = {
description = "A library for Bayesian comparison of classifiers";
homepage = "https://github.com/janezd/baycomp";
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers.lucasew ];
};
}

View file

@ -1271,6 +1271,8 @@ self: super: with self; {
batinfo = callPackage ../development/python-modules/batinfo { };
baycomp = callPackage ../development/python-modules/baycomp { };
bayesian-optimization = callPackage ../development/python-modules/bayesian-optimization { };
bayespy = callPackage ../development/python-modules/bayespy { };