Unverified Commit 5b83dcda authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #261577 from natsukium/python311Packages-ppscore-update

python311Packages.ppscore: unstable-2021-11-25 -> 1.3.0
parents 094681cd d57b19b8
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pandas
, pytestCheckHook
, pythonOlder
@@ -9,18 +10,22 @@

buildPythonPackage rec {
  pname = "ppscore";
  version = "unstable-2021-11-25";
  format = "setuptools";
  version = "1.3.0";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "8080labs";
    repo = pname;
    rev = "c9268c16b6305c5c38e2fe2fd84f43d97ec1aaca";
    hash = "sha256-qiogjUgcLFauAMpVf2CKNC27c9xR9q7nY69n8/go1ms=";
    repo = "ppscore";
    rev = "refs/tags/${version}";
    hash = "sha256-gJStsL8fN17kvXO8EH/NHGIBelPknJzYw5WEvHsFooU=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    pandas
    scikit-learn
@@ -37,6 +42,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python implementation of the Predictive Power Score (PPS)";
    homepage = "https://github.com/8080labs/ppscore/";
    changelog = "https://github.com/8080labs/ppscore/blob/${src.rev}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ evax ];
  };