python3Packages.ppscore: 1.1.1 -> unstable-2021-11-25

This commit is contained in:
Fabian Affolter 2022-01-08 10:09:00 +01:00
parent cc091b950c
commit 90a66508bc

View file

@ -1,33 +1,41 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, isPy27
, pandas , pandas
, scikit-learn
, pytestCheckHook , pytestCheckHook
, pythonOlder
, scikit-learn
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ppscore"; pname = "ppscore";
version = "1.1.1"; version = "unstable-2021-11-25";
disabled = isPy27; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "8080labs"; owner = "8080labs";
repo = pname; repo = pname;
rev = version; rev = "c9268c16b6305c5c38e2fe2fd84f43d97ec1aaca";
sha256 = "11y6axhj0nlagf7ax6gas1g06krrmddb1jlmf0mmrmyi7z0vldk2"; hash = "sha256-qiogjUgcLFauAMpVf2CKNC27c9xR9q7nY69n8/go1ms=";
}; };
checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
pandas pandas
scikit-learn scikit-learn
]; ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"ppscore"
];
meta = with lib; { meta = with lib; {
description = "A Python implementation of the Predictive Power Score (PPS)"; description = "Python implementation of the Predictive Power Score (PPS)";
homepage = "https://github.com/8080labs/ppscore/"; homepage = "https://github.com/8080labs/ppscore/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ evax ]; maintainers = with maintainers; [ evax ];