1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, isPy27
5, pandas
6, scikit-learn
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "ppscore";
12 version = "1.1.1";
13 disabled = isPy27;
14
15 src = fetchFromGitHub {
16 owner = "8080labs";
17 repo = pname;
18 rev = version;
19 sha256 = "11y6axhj0nlagf7ax6gas1g06krrmddb1jlmf0mmrmyi7z0vldk2";
20 };
21
22 checkInputs = [ pytestCheckHook ];
23
24 propagatedBuildInputs = [
25 pandas
26 scikit-learn
27 ];
28
29 meta = with lib; {
30 description = "A Python implementation of the Predictive Power Score (PPS)";
31 homepage = "https://github.com/8080labs/ppscore/";
32 license = licenses.mit;
33 maintainers = with maintainers; [ evax ];
34 };
35}