depot/third_party/nixpkgs/pkgs/development/python-modules/baycomp/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
703 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 = "Library for Bayesian comparison of classifiers";
homepage = "https://github.com/janezd/baycomp";
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers.lucasew ];
};
}