Merge pull request #102352 from evax/ppscore-1.1.1

python3Packages.ppscore: init at 1.1.1
This commit is contained in:
Sandro 2020-11-26 00:44:00 +01:00 committed by GitHub
commit 91e2677267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv
, 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
];
meta = with stdenv.lib; {
description = "A Python implementation of the Predictive Power Score (PPS)";
homepage = "https://github.com/8080labs/ppscore/";
license = licenses.mit;
maintainers = with maintainers; [ evax ];
};
}

View File

@ -4699,6 +4699,8 @@ in {
pproxy = callPackage ../development/python-modules/pproxy { };
ppscore = callPackage ../development/python-modules/ppscore { };
pq = callPackage ../development/python-modules/pq { };
prance = callPackage ../development/python-modules/prance { };