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