depot/third_party/nixpkgs/pkgs/development/python-modules/baycomp/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
705 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
scipy,
scikit-learn,
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 = "A library for Bayesian comparison of classifiers";
homepage = "https://github.com/janezd/baycomp";
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers.lucasew ];
};
}