c7e99a323b
Signed-off-by: lucasew <lucas59356@gmail.com>
36 lines
670 B
Nix
36 lines
670 B
Nix
{ 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 ];
|
|
};
|
|
}
|