5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
36 lines
687 B
Nix
36 lines
687 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
numpy,
|
|
scipy,
|
|
matplotlib,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "baycomp";
|
|
version = "1.0.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-MrJa17FtWyUd259hEKMtezlTuYcJbaHSXvJ3k10l2uw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
scipy
|
|
matplotlib
|
|
];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
pythonImportsCheck = [ "baycomp" ];
|
|
|
|
meta = {
|
|
description = "Library for Bayesian comparison of classifiers";
|
|
homepage = "https://github.com/janezd/baycomp";
|
|
license = [ lib.licenses.mit ];
|
|
maintainers = [ lib.maintainers.lucasew ];
|
|
};
|
|
}
|