mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00

Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
37 lines
695 B
Nix
37 lines
695 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 ];
|
|
};
|
|
}
|