2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-11-01 14:38:39 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy27
|
|
|
|
, pandas
|
|
|
|
, scikitlearn
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ppscore";
|
|
|
|
version = "1.1.1";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "8080labs";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "11y6axhj0nlagf7ax6gas1g06krrmddb1jlmf0mmrmyi7z0vldk2";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pandas
|
|
|
|
scikitlearn
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-01 14:38:39 +00:00
|
|
|
description = "A Python implementation of the Predictive Power Score (PPS)";
|
|
|
|
homepage = "https://github.com/8080labs/ppscore/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ evax ];
|
|
|
|
};
|
|
|
|
}
|