1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, scipy 6, scikit-learn 7, matplotlib 8, unittestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "baycomp"; 13 version = "1.0.3"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-MrJa17FtWyUd259hEKMtezlTuYcJbaHSXvJ3k10l2uw="; 18 }; 19 20 propagatedBuildInputs = [ 21 numpy 22 scipy 23 matplotlib 24 ]; 25 26 nativeCheckInputs = [ unittestCheckHook ]; 27 pythonImportsCheck = [ "baycomp" ]; 28 29 meta = { 30 description = "A library for Bayesian comparison of classifiers"; 31 homepage = "https://github.com/janezd/baycomp"; 32 license = [ lib.licenses.mit ]; 33 maintainers = [ lib.maintainers.lucasew ]; 34 }; 35}