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