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

python311Packages.ppscore: unstable-2021-11-25 -> 1.3.0
This commit is contained in:
Nick Cao 2023-10-17 08:56:58 -04:00 committed by GitHub
commit 5b83dcdac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ 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 ];
};